@Generated(value="software.amazon.awssdk:codegen") public final class GetStageResponse extends ApiGatewayResponse implements ToCopyableBuilder<GetStageResponse.Builder,GetStageResponse>
Represents a unique identifier for a version of a deployed RestApi that is callable by users.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetStageResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
AccessLogSettings |
accessLogSettings()
Settings for logging access in this stage.
|
static GetStageResponse.Builder |
builder() |
Boolean |
cacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
|
String |
cacheClusterSize()
The size of the cache cluster for the stage, if enabled.
|
CacheClusterStatus |
cacheClusterStatus()
The status of the cache cluster for the stage, if enabled.
|
String |
cacheClusterStatusAsString()
The status of the cache cluster for the stage, if enabled.
|
CanarySettings |
canarySettings()
Settings for the canary deployment in this stage.
|
String |
clientCertificateId()
The identifier of a client certificate for an API stage.
|
Instant |
createdDate()
The timestamp when the stage was created.
|
String |
deploymentId()
The identifier of the Deployment that the stage points to.
|
String |
description()
The stage's description.
|
String |
documentationVersion()
The version of the associated API documentation.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMethodSettings()
Returns true if the MethodSettings property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasVariables()
Returns true if the Variables property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Instant |
lastUpdatedDate()
The timestamp when the stage last updated.
|
Map<String,MethodSetting> |
methodSettings()
A map that defines the method settings for a Stage resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetStageResponse.Builder> |
serializableBuilderClass() |
String |
stageName()
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API
Gateway.
|
Map<String,String> |
tags()
The collection of tags.
|
GetStageResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
tracingEnabled()
Specifies whether active tracing with X-ray is enabled for the Stage.
|
Map<String,String> |
variables()
A map that defines the stage variables for a Stage resource.
|
String |
webAclArn()
The ARN of the WebAcl associated with the Stage.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String deploymentId()
The identifier of the Deployment that the stage points to.
public final String clientCertificateId()
The identifier of a client certificate for an API stage.
public final String stageName()
The name of the stage is the first path segment in the Uniform Resource Identifier (URI) of a call to API Gateway. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
public final String description()
The stage's description.
public final Boolean cacheClusterEnabled()
Specifies whether a cache cluster is enabled for the stage.
public final String cacheClusterSize()
The size of the cache cluster for the stage, if enabled.
public final CacheClusterStatus cacheClusterStatus()
The status of the cache cluster for the stage, if enabled.
If the service returns an enum value that is not available in the current SDK version,
cacheClusterStatus will return CacheClusterStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from cacheClusterStatusAsString().
CacheClusterStatuspublic final String cacheClusterStatusAsString()
The status of the cache cluster for the stage, if enabled.
If the service returns an enum value that is not available in the current SDK version,
cacheClusterStatus will return CacheClusterStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from cacheClusterStatusAsString().
CacheClusterStatuspublic final boolean hasMethodSettings()
public final Map<String,MethodSetting> methodSettings()
A map that defines the method settings for a Stage resource. Keys (designated as
/{method_setting_key below) are method paths defined as {resource_path}/{http_method}
for an individual method override, or /\*/\* for overriding all methods in the stage.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMethodSettings() to see if a value was sent in this field.
/{method_setting_key below) are method paths defined as
{resource_path}/{http_method} for an individual method override, or /\*/\*
for overriding all methods in the stage.public final boolean hasVariables()
public final Map<String,String> variables()
A map that defines the stage variables for a Stage resource. Variable names can have alphanumeric and
underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasVariables() to see if a value was sent in this field.
[A-Za-z0-9-._~:/?#&=,]+.public final String documentationVersion()
The version of the associated API documentation.
public final AccessLogSettings accessLogSettings()
Settings for logging access in this stage.
public final CanarySettings canarySettings()
Settings for the canary deployment in this stage.
public final Boolean tracingEnabled()
Specifies whether active tracing with X-ray is enabled for the Stage.
public final String webAclArn()
The ARN of the WebAcl associated with the Stage.
public final boolean hasTags()
public final Map<String,String> tags()
The collection of tags. Each tag element is associated with a given resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final Instant createdDate()
The timestamp when the stage was created.
public final Instant lastUpdatedDate()
The timestamp when the stage last updated.
public GetStageResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetStageResponse.Builder,GetStageResponse>toBuilder in class AwsResponsepublic static GetStageResponse.Builder builder()
public static Class<? extends GetStageResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.