Class StageKey
- java.lang.Object
-
- software.amazon.awssdk.services.apigateway.model.StageKey
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StageKey.Builder,StageKey>
@Generated("software.amazon.awssdk:codegen") public final class StageKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StageKey.Builder,StageKey>
A reference to a unique stage identified in the format
{restApiId}/{stage}.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStageKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StageKey.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrestApiId()The string identifier of the associated RestApi.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StageKey.Builder>serializableBuilderClass()StringstageName()The stage name associated with the stage key.StageKey.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
restApiId
public final String restApiId()
The string identifier of the associated RestApi.
- Returns:
- The string identifier of the associated RestApi.
-
stageName
public final String stageName()
The stage name associated with the stage key.
- Returns:
- The stage name associated with the stage key.
-
toBuilder
public StageKey.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StageKey.Builder,StageKey>
-
builder
public static StageKey.Builder builder()
-
serializableBuilderClass
public static Class<? extends StageKey.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-