Interface ResourceWarning.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceWarning.Builder,
,ResourceWarning> SdkBuilder<ResourceWarning.Builder,
,ResourceWarning> SdkPojo
- Enclosing class:
ResourceWarning
@Mutable
@NotThreadSafe
public static interface ResourceWarning.Builder
extends SdkPojo, CopyableBuilder<ResourceWarning.Builder,ResourceWarning>
-
Method Summary
Modifier and TypeMethodDescriptionresourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the resource.The name of the step for the resource warning.The version for the resource warning.warningMessage
(String warningMessage) The warning message about what needs to be corrected.warningStatus
(String warningStatus) The status of the resource warning.warningStatus
(ResourceWarningStatus warningStatus) The status of the resource warning.warningUpdatedTime
(Instant warningUpdatedTime) The timestamp when the warning was last updated.default ResourceWarning.Builder
workflow
(Consumer<MinimalWorkflow.Builder> workflow) The workflow for the resource warning.workflow
(MinimalWorkflow workflow) The workflow for the resource warning.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, sdkFieldNameToField, sdkFields
-
Method Details
-
workflow
The workflow for the resource warning.
- Parameters:
workflow
- The workflow for the resource warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflow
The workflow for the resource warning.
This is a convenience method that creates an instance of theMinimalWorkflow.Builder
avoiding the need to create one manually viaMinimalWorkflow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkflow(MinimalWorkflow)
.- Parameters:
workflow
- a consumer that will call methods onMinimalWorkflow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The version for the resource warning.
- Parameters:
version
- The version for the resource warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepName
The name of the step for the resource warning.
- Parameters:
stepName
- The name of the step for the resource warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
The Amazon Resource Name (ARN) of the resource.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warningStatus
The status of the resource warning.
- Parameters:
warningStatus
- The status of the resource warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warningStatus
The status of the resource warning.
- Parameters:
warningStatus
- The status of the resource warning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warningUpdatedTime
The timestamp when the warning was last updated.
- Parameters:
warningUpdatedTime
- The timestamp when the warning was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warningMessage
The warning message about what needs to be corrected.
- Parameters:
warningMessage
- The warning message about what needs to be corrected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-