Interface IpamScope.Builder

    • Method Detail

      • ownerId

        IpamScope.Builder ownerId​(String ownerId)

        The Amazon Web Services account ID of the owner of the scope.

        Parameters:
        ownerId - The Amazon Web Services account ID of the owner of the scope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamScopeId

        IpamScope.Builder ipamScopeId​(String ipamScopeId)

        The ID of the scope.

        Parameters:
        ipamScopeId - The ID of the scope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamScopeArn

        IpamScope.Builder ipamScopeArn​(String ipamScopeArn)

        The Amazon Resource Name (ARN) of the scope.

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

        IpamScope.Builder ipamArn​(String ipamArn)

        The ARN of the IPAM.

        Parameters:
        ipamArn - The ARN of the IPAM.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamRegion

        IpamScope.Builder ipamRegion​(String ipamRegion)

        The Amazon Web Services Region of the IPAM scope.

        Parameters:
        ipamRegion - The Amazon Web Services Region of the IPAM scope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamScopeType

        IpamScope.Builder ipamScopeType​(String ipamScopeType)

        The type of the scope.

        Parameters:
        ipamScopeType - The type of the scope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpamScopeType, IpamScopeType
      • ipamScopeType

        IpamScope.Builder ipamScopeType​(IpamScopeType ipamScopeType)

        The type of the scope.

        Parameters:
        ipamScopeType - The type of the scope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpamScopeType, IpamScopeType
      • isDefault

        IpamScope.Builder isDefault​(Boolean isDefault)

        Defines if the scope is the default scope or not.

        Parameters:
        isDefault - Defines if the scope is the default scope or not.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        IpamScope.Builder description​(String description)

        The description of the scope.

        Parameters:
        description - The description of the scope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • poolCount

        IpamScope.Builder poolCount​(Integer poolCount)

        The number of pools in the scope.

        Parameters:
        poolCount - The number of pools in the scope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        IpamScope.Builder state​(String state)

        The state of the IPAM scope.

        Parameters:
        state - The state of the IPAM scope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpamScopeState, IpamScopeState
      • tags

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

        The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        Parameters:
        tags - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        IpamScope.Builder tags​(Tag... tags)

        The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        Parameters:
        tags - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

        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)