Interface IpamPolicy.Builder

    • Method Detail

      • ownerId

        IpamPolicy.Builder ownerId​(String ownerId)

        The account ID that owns the IPAM policy.

        Parameters:
        ownerId - The account ID that owns the IPAM policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamPolicyId

        IpamPolicy.Builder ipamPolicyId​(String ipamPolicyId)

        The ID of the IPAM policy.

        Parameters:
        ipamPolicyId - The ID of the IPAM policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamPolicyArn

        IpamPolicy.Builder ipamPolicyArn​(String ipamPolicyArn)

        The Amazon Resource Name (ARN) of the IPAM policy.

        Parameters:
        ipamPolicyArn - The Amazon Resource Name (ARN) of the IPAM policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamPolicyRegion

        IpamPolicy.Builder ipamPolicyRegion​(String ipamPolicyRegion)

        The Region of the IPAM policy.

        Parameters:
        ipamPolicyRegion - The Region of the IPAM policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateMessage

        IpamPolicy.Builder stateMessage​(String stateMessage)

        A message about the state of the IPAM policy.

        Parameters:
        stateMessage - A message about the state of the IPAM policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        IpamPolicy.Builder tags​(Collection<Tag> tags)

        The tags assigned to the IPAM policy.

        Parameters:
        tags - The tags assigned to the IPAM policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        IpamPolicy.Builder tags​(Tag... tags)

        The tags assigned to the IPAM policy.

        Parameters:
        tags - The tags assigned to the IPAM policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        IpamPolicy.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags assigned to the IPAM policy.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • ipamId

        IpamPolicy.Builder ipamId​(String ipamId)

        The ID of the IPAM this policy belongs to.

        Parameters:
        ipamId - The ID of the IPAM this policy belongs to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.