@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 stage's cache capacity in GB.
|
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()
For responses, this returns true if the service returned a value for the MethodSettings property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
boolean |
hasVariables()
For responses, this returns true if the service returned a value for the Variables property.
|
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 stage's cache capacity in GB. For more information about choosing a cache size, see Enabling API caching to enhance responsiveness.
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMethodSettings() method.
/{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()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasVariables() method.
[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()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
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 © 2023. All rights reserved.