Class ParameterDefinition
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ParameterDefinition.Builder,ParameterDefinition>
Defines a parameter that a role template accepts. You supply values for these parameters when you create a role with AcquireRole.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterDefinition.Builderbuilder()final StringThe value that the service uses for the parameter when you do not supply one.final StringA description of the parameter.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanSpecifies whether you can change the parameter value after you create the role.final BooleanSpecifies whether you must supply a value for the parameter when you create a role from the template.final Stringname()The name of the parameter.static Class<? extends ParameterDefinition.Builder> final StringsubType()An optional subtype that further constrains the values that are allowed for the parameter.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final ParameterTypeTypetype()The data type of the parameter.final StringThe data type of the parameter.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
type
The data type of the parameter. Valid values are
String,StringList,Number,NumberList,Arn, andArnList.If the service returns an enum value that is not available in the current SDK version,
typewill returnParameterTypeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The data type of the parameter. Valid values are
String,StringList,Number,NumberList,Arn, andArnList. - See Also:
-
typeAsString
The data type of the parameter. Valid values are
String,StringList,Number,NumberList,Arn, andArnList.If the service returns an enum value that is not available in the current SDK version,
typewill returnParameterTypeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The data type of the parameter. Valid values are
String,StringList,Number,NumberList,Arn, andArnList. - See Also:
-
subType
An optional subtype that further constrains the values that are allowed for the parameter.
- Returns:
- An optional subtype that further constrains the values that are allowed for the parameter.
-
description
A description of the parameter.
- Returns:
- A description of the parameter.
-
isRequired
Specifies whether you must supply a value for the parameter when you create a role from the template.
- Returns:
- Specifies whether you must supply a value for the parameter when you create a role from the template.
-
defaultValue
The value that the service uses for the parameter when you do not supply one.
- Returns:
- The value that the service uses for the parameter when you do not supply one.
-
immutable
Specifies whether you can change the parameter value after you create the role.
- Returns:
- Specifies whether you can change the parameter value after you create the role.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ParameterDefinition.Builder,ParameterDefinition> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-