Interface ResourceContext.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceContext.Builder,,ResourceContext> SdkBuilder<ResourceContext.Builder,,ResourceContext> SdkPojo
- Enclosing class:
ResourceContext
-
Method Summary
Modifier and TypeMethodDescriptionattachmentType(String attachmentType) The type of the transit gateway attachment.availabilityZone(String availabilityZone) The Availability Zone of the resource.contextType(String contextType) The kind of context that the context store records for the resource.contextType(ContextType contextType) The kind of context that the context store records for the resource.The identifier of the resource, for examplevpc-1234567890abcdef0,subnet-1234567890abcdef0,sg-1234567890abcdef0, ortgw-attach-1234567890abcdef0.The Amazon Web Services Region of the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
contextType
The kind of context that the context store records for the resource. Valid values:
-
ResourceId- A VPC. -
SegmentId- A security group. -
Subnet- A subnet. -
Attachment- A transit gateway attachment.
- Parameters:
contextType- The kind of context that the context store records for the resource. Valid values:-
ResourceId- A VPC. -
SegmentId- A security group. -
Subnet- A subnet. -
Attachment- A transit gateway attachment.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
contextType
The kind of context that the context store records for the resource. Valid values:
-
ResourceId- A VPC. -
SegmentId- A security group. -
Subnet- A subnet. -
Attachment- A transit gateway attachment.
- Parameters:
contextType- The kind of context that the context store records for the resource. Valid values:-
ResourceId- A VPC. -
SegmentId- A security group. -
Subnet- A subnet. -
Attachment- A transit gateway attachment.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
region
The Amazon Web Services Region of the resource.
- Parameters:
region- The Amazon Web Services Region of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZone
The Availability Zone of the resource. Present for subnets.
- Parameters:
availabilityZone- The Availability Zone of the resource. Present for subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentType
The type of the transit gateway attachment. Present for attachments.
- Parameters:
attachmentType- The type of the transit gateway attachment. Present for attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicId
The identifier of the resource, for example
vpc-1234567890abcdef0,subnet-1234567890abcdef0,sg-1234567890abcdef0, ortgw-attach-1234567890abcdef0.- Parameters:
publicId- The identifier of the resource, for examplevpc-1234567890abcdef0,subnet-1234567890abcdef0,sg-1234567890abcdef0, ortgw-attach-1234567890abcdef0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-