Interface Resource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Resource.Builder,
,Resource> SdkBuilder<Resource.Builder,
,Resource> SdkPojo
- Enclosing class:
Resource
@Mutable
@NotThreadSafe
public static interface Resource.Builder
extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
Method Summary
Modifier and TypeMethodDescriptionresourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the source resource.resourceType
(String resourceType) The resource type.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
-
resourceArn
The Amazon Resource Name (ARN) of the source resource.
Example of
ResourceArn
: "arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321
"- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the source resource.Example of
ResourceArn
: "arn:aws:ec2:us-east-1:111111111111:instance/i-abcdefgh987654321
"- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type.
Example of
ResourceType
: "AWS::SystemsManagerSAP::Component
" or "AWS::EC2::Instance
".- Parameters:
resourceType
- The resource type.Example of
ResourceType
: "AWS::SystemsManagerSAP::Component
" or "AWS::EC2::Instance
".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-