Interface GetIpamPolicyAllocationRulesResponse.Builder

    • Method Detail

      • ipamPolicyDocuments

        GetIpamPolicyAllocationRulesResponse.Builder ipamPolicyDocuments​(Collection<IpamPolicyDocument> ipamPolicyDocuments)

        The IPAM policy documents containing the allocation rules.

        Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.

        Parameters:
        ipamPolicyDocuments - The IPAM policy documents containing the allocation rules.

        Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamPolicyDocuments

        GetIpamPolicyAllocationRulesResponse.Builder ipamPolicyDocuments​(IpamPolicyDocument... ipamPolicyDocuments)

        The IPAM policy documents containing the allocation rules.

        Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.

        Parameters:
        ipamPolicyDocuments - The IPAM policy documents containing the allocation rules.

        Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamPolicyDocuments

        GetIpamPolicyAllocationRulesResponse.Builder ipamPolicyDocuments​(Consumer<IpamPolicyDocument.Builder>... ipamPolicyDocuments)

        The IPAM policy documents containing the allocation rules.

        Allocation rules are optional configurations within an IPAM policy that map Amazon Web Services resource types to specific IPAM pools. If no rules are defined, the resource types default to using Amazon-provided IP addresses.

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

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

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

        GetIpamPolicyAllocationRulesResponse.Builder nextToken​(String nextToken)

        The token to use to retrieve the next page of results.

        Parameters:
        nextToken - The token to use to retrieve the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.