Interface CreateAppVersionResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAppVersionResourceRequest.Builder,
,CreateAppVersionResourceRequest> ResiliencehubRequest.Builder
,SdkBuilder<CreateAppVersionResourceRequest.Builder,
,CreateAppVersionResourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAppVersionResourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalInfo
(Map<String, ? extends Collection<String>> additionalInfo) Currently, there is no supported additional information for resources.Amazon Resource Name (ARN) of the Resilience Hub application.appComponents
(String... appComponents) List of Application Components that this resource belongs to.appComponents
(Collection<String> appComponents) List of Application Components that this resource belongs to.awsAccountId
(String awsAccountId) Amazon Web Services account that owns the physical resource.Amazon Web Services region that owns the physical resource.clientToken
(String clientToken) Used for an idempotency token.logicalResourceId
(Consumer<LogicalResourceId.Builder> logicalResourceId) Logical identifier of the resource.logicalResourceId
(LogicalResourceId logicalResourceId) Logical identifier of the resource.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.physicalResourceId
(String physicalResourceId) Physical identifier of the resource.resourceName
(String resourceName) Name of the resource.resourceType
(String resourceType) Type of resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubRequest.Builder
build
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
-
additionalInfo
CreateAppVersionResourceRequest.Builder additionalInfo(Map<String, ? extends Collection<String>> additionalInfo) Currently, there is no supported additional information for resources.
- Parameters:
additionalInfo
- Currently, there is no supported additional information for resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appArn
Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/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 Resilience Hub application. The format for this ARN is: arn:partition
:resiliencehub:region
:account
:app/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.
-
appComponents
List of Application Components that this resource belongs to. If an Application Component is not part of the Resilience Hub application, it will be added.
- Parameters:
appComponents
- List of Application Components that this resource belongs to. If an Application Component is not part of the Resilience Hub application, it will be added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appComponents
List of Application Components that this resource belongs to. If an Application Component is not part of the Resilience Hub application, it will be added.
- Parameters:
appComponents
- List of Application Components that this resource belongs to. If an Application Component is not part of the Resilience Hub application, it will be added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountId
Amazon Web Services account that owns the physical resource.
- Parameters:
awsAccountId
- Amazon Web Services account that owns the physical resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsRegion
Amazon Web Services region that owns the physical resource.
- Parameters:
awsRegion
- Amazon Web Services region that owns the physical resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- Parameters:
clientToken
- Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logicalResourceId
Logical identifier of the resource.
- Parameters:
logicalResourceId
- Logical identifier of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logicalResourceId
default CreateAppVersionResourceRequest.Builder logicalResourceId(Consumer<LogicalResourceId.Builder> logicalResourceId) Logical identifier of the resource.
This is a convenience method that creates an instance of theLogicalResourceId.Builder
avoiding the need to create one manually viaLogicalResourceId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologicalResourceId(LogicalResourceId)
.- Parameters:
logicalResourceId
- a consumer that will call methods onLogicalResourceId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
physicalResourceId
Physical identifier of the resource.
- Parameters:
physicalResourceId
- Physical identifier of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
Name of the resource.
- Parameters:
resourceName
- Name of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
Type of resource.
- Parameters:
resourceType
- Type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAppVersionResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAppVersionResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-