Interface RemediationParameterValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RemediationParameterValue.Builder,
,RemediationParameterValue> SdkBuilder<RemediationParameterValue.Builder,
,RemediationParameterValue> SdkPojo
- Enclosing class:
RemediationParameterValue
public static interface RemediationParameterValue.Builder
extends SdkPojo, CopyableBuilder<RemediationParameterValue.Builder,RemediationParameterValue>
-
Method Summary
Modifier and TypeMethodDescriptionresourceValue
(Consumer<ResourceValue.Builder> resourceValue) The value is dynamic and changes at run-time.resourceValue
(ResourceValue resourceValue) The value is dynamic and changes at run-time.staticValue
(Consumer<StaticValue.Builder> staticValue) The value is static and does not change at run-time.staticValue
(StaticValue staticValue) The value is static and does not change at run-time.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceValue
The value is dynamic and changes at run-time.
- Parameters:
resourceValue
- The value is dynamic and changes at run-time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceValue
default RemediationParameterValue.Builder resourceValue(Consumer<ResourceValue.Builder> resourceValue) The value is dynamic and changes at run-time.
This is a convenience method that creates an instance of theResourceValue.Builder
avoiding the need to create one manually viaResourceValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceValue(ResourceValue)
.- Parameters:
resourceValue
- a consumer that will call methods onResourceValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
staticValue
The value is static and does not change at run-time.
- Parameters:
staticValue
- The value is static and does not change at run-time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticValue
The value is static and does not change at run-time.
This is a convenience method that creates an instance of theStaticValue.Builder
avoiding the need to create one manually viaStaticValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostaticValue(StaticValue)
.- Parameters:
staticValue
- a consumer that will call methods onStaticValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-