Class Parameter
- java.lang.Object
-
- software.amazon.awssdk.services.cloudformation.model.Parameter
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Parameter.Builder,Parameter>
@Generated("software.amazon.awssdk:codegen") public final class Parameter extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Parameter.Builder,Parameter>
The Parameter data type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Parameter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Parameter.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
parameterKey()
The key associated with the parameter.String
parameterValue()
The input value associated with the parameter.String
resolvedValue()
Read-only.List<SdkField<?>>
sdkFields()
static Class<? extends Parameter.Builder>
serializableBuilderClass()
Parameter.Builder
toBuilder()
String
toString()
Returns a string representation of this object.Boolean
usePreviousValue()
During a stack update, use the existing parameter value that the stack is using for a given parameter key.-
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
-
parameterKey
public final String parameterKey()
The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.
- Returns:
- The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.
-
parameterValue
public final String parameterValue()
The input value associated with the parameter.
- Returns:
- The input value associated with the parameter.
-
usePreviousValue
public final Boolean usePreviousValue()
During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify
true
, do not specify a parameter value.- Returns:
- During a stack update, use the existing parameter value that the stack is using for a given parameter
key. If you specify
true
, do not specify a parameter value.
-
resolvedValue
public final String resolvedValue()
Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.
- Returns:
- Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.
-
toBuilder
public Parameter.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<Parameter.Builder,Parameter>
-
builder
public static Parameter.Builder builder()
-
serializableBuilderClass
public static Class<? extends Parameter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-