Interface CreateAppVersionResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAppVersionResourceRequest.Builder,CreateAppVersionResourceRequest>,ResiliencehubRequest.Builder,SdkBuilder<CreateAppVersionResourceRequest.Builder,CreateAppVersionResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAppVersionResourceRequest
public static interface CreateAppVersionResourceRequest.Builder extends ResiliencehubRequest.Builder, SdkPojo, CopyableBuilder<CreateAppVersionResourceRequest.Builder,CreateAppVersionResourceRequest>
-
-
Method Summary
-
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 Detail
-
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
CreateAppVersionResourceRequest.Builder appArn(String 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
CreateAppVersionResourceRequest.Builder appComponents(Collection<String> 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
CreateAppVersionResourceRequest.Builder appComponents(String... 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
CreateAppVersionResourceRequest.Builder awsAccountId(String 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
CreateAppVersionResourceRequest.Builder awsRegion(String 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
CreateAppVersionResourceRequest.Builder clientToken(String 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
CreateAppVersionResourceRequest.Builder logicalResourceId(LogicalResourceId 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.Builderavoiding the need to create one manually viaLogicalResourceId.builder().When the
Consumercompletes,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:
logicalResourceId(LogicalResourceId)
-
physicalResourceId
CreateAppVersionResourceRequest.Builder physicalResourceId(String 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
CreateAppVersionResourceRequest.Builder resourceName(String 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
CreateAppVersionResourceRequest.Builder resourceType(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAppVersionResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-