Interface ContextEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContextEntry.Builder,,ContextEntry> SdkBuilder<ContextEntry.Builder,,ContextEntry> SdkPojo
- Enclosing class:
ContextEntry
@Mutable
@NotThreadSafe
public static interface ContextEntry.Builder
extends SdkPojo, CopyableBuilder<ContextEntry.Builder,ContextEntry>
-
Method Summary
Modifier and TypeMethodDescriptionattachmentType(String attachmentType) The type of the attachment, for exampleVPC.availabilityZone(String availabilityZone) The ID of the Availability Zone of the resource, for exampleuse1-az2.The ID of the context entry.contextType(String contextType) The type of the context entry, for exampleSegmentId,Subnet, orAttachment.The ID of the resource, for example a security group ID, subnet ID, or transit gateway attachment ID.The Amazon Web Services Region of the resource.segmentType(String segmentType) The type of the segment, for exampleSecurityGroup.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
-
contextId
The ID of the context entry.
- Parameters:
contextId- The ID of the context entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextType
The type of the context entry, for example
SegmentId,Subnet, orAttachment.- Parameters:
contextType- The type of the context entry, for exampleSegmentId,Subnet, orAttachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentType
The type of the segment, for example
SecurityGroup. Network Manager returns this value only when the context type isSegmentId.- Parameters:
segmentType- The type of the segment, for exampleSecurityGroup. Network Manager returns this value only when the context type isSegmentId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicId
The ID of the resource, for example a security group ID, subnet ID, or transit gateway attachment ID.
- Parameters:
publicId- The ID of the resource, for example a security group ID, subnet ID, or transit gateway attachment ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ID of the Availability Zone of the resource, for example
use1-az2. Network Manager returns this value only when the context type isSubnet.- Parameters:
availabilityZone- The ID of the Availability Zone of the resource, for exampleuse1-az2. Network Manager returns this value only when the context type isSubnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentType
The type of the attachment, for example
VPC. Network Manager returns this value only when the context type isAttachment.- Parameters:
attachmentType- The type of the attachment, for exampleVPC. Network Manager returns this value only when the context type isAttachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-