Interface ResourceContext.Builder

  • Method Details

    • contextType

      ResourceContext.Builder contextType(String 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

      ResourceContext.Builder contextType(ContextType 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

      ResourceContext.Builder availabilityZone(String 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

      ResourceContext.Builder attachmentType(String 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

      ResourceContext.Builder publicId(String publicId)

      The identifier of the resource, for example vpc-1234567890abcdef0, subnet-1234567890abcdef0, sg-1234567890abcdef0, or tgw-attach-1234567890abcdef0.

      Parameters:
      publicId - The identifier of the resource, for example vpc-1234567890abcdef0, subnet-1234567890abcdef0, sg-1234567890abcdef0, or tgw-attach-1234567890abcdef0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.