Interface ResourceDrift.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceDrift.Builder,
,ResourceDrift> SdkBuilder<ResourceDrift.Builder,
,ResourceDrift> SdkPojo
- Enclosing class:
ResourceDrift
@Mutable
@NotThreadSafe
public static interface ResourceDrift.Builder
extends SdkPojo, CopyableBuilder<ResourceDrift.Builder,ResourceDrift>
-
Method Summary
Modifier and TypeMethodDescriptionAmazon Resource Name (ARN) of the application whose resources have drifted.appVersion
(String appVersion) Version of the application whose resources have drifted.Indicates if the resource was added or removed.diffType
(DifferenceType diffType) Indicates if the resource was added or removed.referenceId
(String referenceId) Reference identifier of the resource drift.default ResourceDrift.Builder
resourceIdentifier
(Consumer<ResourceIdentifier.Builder> resourceIdentifier) Identifier of the drifted resource.resourceIdentifier
(ResourceIdentifier resourceIdentifier) Identifier of the drifted resource.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
-
appArn
Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Parameters:
appArn
- Amazon Resource Name (ARN) of the application whose resources have drifted. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appVersion
Version of the application whose resources have drifted.
- Parameters:
appVersion
- Version of the application whose resources have drifted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diffType
Indicates if the resource was added or removed.
- Parameters:
diffType
- Indicates if the resource was added or removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
diffType
Indicates if the resource was added or removed.
- Parameters:
diffType
- Indicates if the resource was added or removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
referenceId
Reference identifier of the resource drift.
- Parameters:
referenceId
- Reference identifier of the resource drift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
Identifier of the drifted resource.
- Parameters:
resourceIdentifier
- Identifier of the drifted resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
default ResourceDrift.Builder resourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier) Identifier of the drifted resource.
This is a convenience method that creates an instance of theResourceIdentifier.Builder
avoiding the need to create one manually viaResourceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceIdentifier(ResourceIdentifier)
.- Parameters:
resourceIdentifier
- a consumer that will call methods onResourceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-