Interface ContextEntry.Builder

  • Method Details

    • contextId

      ContextEntry.Builder contextId(String 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

      ContextEntry.Builder contextType(String contextType)

      The type of the context entry, for example SegmentId, Subnet, or Attachment.

      Parameters:
      contextType - The type of the context entry, for example SegmentId, Subnet, or Attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentType

      ContextEntry.Builder segmentType(String segmentType)

      The type of the segment, for example SecurityGroup. Network Manager returns this value only when the context type is SegmentId.

      Parameters:
      segmentType - The type of the segment, for example SecurityGroup. Network Manager returns this value only when the context type is SegmentId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • publicId

      ContextEntry.Builder publicId(String 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

      ContextEntry.Builder region(String 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

      ContextEntry.Builder availabilityZone(String availabilityZone)

      The ID of the Availability Zone of the resource, for example use1-az2. Network Manager returns this value only when the context type is Subnet.

      Parameters:
      availabilityZone - The ID of the Availability Zone of the resource, for example use1-az2. Network Manager returns this value only when the context type is Subnet.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachmentType

      ContextEntry.Builder attachmentType(String attachmentType)

      The type of the attachment, for example VPC. Network Manager returns this value only when the context type is Attachment.

      Parameters:
      attachmentType - The type of the attachment, for example VPC. Network Manager returns this value only when the context type is Attachment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.