Interface IpamResourceDiscovery.Builder

    • Method Detail

      • ownerId

        IpamResourceDiscovery.Builder ownerId​(String ownerId)

        The ID of the owner.

        Parameters:
        ownerId - The ID of the owner.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamResourceDiscoveryId

        IpamResourceDiscovery.Builder ipamResourceDiscoveryId​(String ipamResourceDiscoveryId)

        The resource discovery ID.

        Parameters:
        ipamResourceDiscoveryId - The resource discovery ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamResourceDiscoveryArn

        IpamResourceDiscovery.Builder ipamResourceDiscoveryArn​(String ipamResourceDiscoveryArn)

        The resource discovery Amazon Resource Name (ARN).

        Parameters:
        ipamResourceDiscoveryArn - The resource discovery Amazon Resource Name (ARN).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipamResourceDiscoveryRegion

        IpamResourceDiscovery.Builder ipamResourceDiscoveryRegion​(String ipamResourceDiscoveryRegion)

        The resource discovery Region.

        Parameters:
        ipamResourceDiscoveryRegion - The resource discovery Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        IpamResourceDiscovery.Builder description​(String description)

        The resource discovery description.

        Parameters:
        description - The resource discovery description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operatingRegions

        IpamResourceDiscovery.Builder operatingRegions​(Collection<IpamOperatingRegion> operatingRegions)

        The operating Regions for the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        Parameters:
        operatingRegions - The operating Regions for the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operatingRegions

        IpamResourceDiscovery.Builder operatingRegions​(IpamOperatingRegion... operatingRegions)

        The operating Regions for the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

        Parameters:
        operatingRegions - The operating Regions for the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operatingRegions

        IpamResourceDiscovery.Builder operatingRegions​(Consumer<IpamOperatingRegion.Builder>... operatingRegions)

        The operating Regions for the resource discovery. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.

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

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

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

        IpamResourceDiscovery.Builder isDefault​(Boolean isDefault)

        Defines if the resource discovery is the default. The default resource discovery is the resource discovery automatically created when you create an IPAM.

        Parameters:
        isDefault - Defines if the resource discovery is the default. The default resource discovery is the resource discovery automatically created when you create an IPAM.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        IpamResourceDiscovery.Builder state​(String state)

        The lifecycle state of the resource discovery.

        • create-in-progress - Resource discovery is being created.

        • create-complete - Resource discovery creation is complete.

        • create-failed - Resource discovery creation has failed.

        • modify-in-progress - Resource discovery is being modified.

        • modify-complete - Resource discovery modification is complete.

        • modify-failed - Resource discovery modification has failed.

        • delete-in-progress - Resource discovery is being deleted.

        • delete-complete - Resource discovery deletion is complete.

        • delete-failed - Resource discovery deletion has failed.

        • isolate-in-progress - Amazon Web Services account that created the resource discovery has been removed and the resource discovery is being isolated.

        • isolate-complete - Resource discovery isolation is complete.

        • restore-in-progress - Amazon Web Services account that created the resource discovery and was isolated has been restored.

        Parameters:
        state - The lifecycle state of the resource discovery.

        • create-in-progress - Resource discovery is being created.

        • create-complete - Resource discovery creation is complete.

        • create-failed - Resource discovery creation has failed.

        • modify-in-progress - Resource discovery is being modified.

        • modify-complete - Resource discovery modification is complete.

        • modify-failed - Resource discovery modification has failed.

        • delete-in-progress - Resource discovery is being deleted.

        • delete-complete - Resource discovery deletion is complete.

        • delete-failed - Resource discovery deletion has failed.

        • isolate-in-progress - Amazon Web Services account that created the resource discovery has been removed and the resource discovery is being isolated.

        • isolate-complete - Resource discovery isolation is complete.

        • restore-in-progress - Amazon Web Services account that created the resource discovery and was isolated has been restored.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpamResourceDiscoveryState, IpamResourceDiscoveryState
      • state

        IpamResourceDiscovery.Builder state​(IpamResourceDiscoveryState state)

        The lifecycle state of the resource discovery.

        • create-in-progress - Resource discovery is being created.

        • create-complete - Resource discovery creation is complete.

        • create-failed - Resource discovery creation has failed.

        • modify-in-progress - Resource discovery is being modified.

        • modify-complete - Resource discovery modification is complete.

        • modify-failed - Resource discovery modification has failed.

        • delete-in-progress - Resource discovery is being deleted.

        • delete-complete - Resource discovery deletion is complete.

        • delete-failed - Resource discovery deletion has failed.

        • isolate-in-progress - Amazon Web Services account that created the resource discovery has been removed and the resource discovery is being isolated.

        • isolate-complete - Resource discovery isolation is complete.

        • restore-in-progress - Amazon Web Services account that created the resource discovery and was isolated has been restored.

        Parameters:
        state - The lifecycle state of the resource discovery.

        • create-in-progress - Resource discovery is being created.

        • create-complete - Resource discovery creation is complete.

        • create-failed - Resource discovery creation has failed.

        • modify-in-progress - Resource discovery is being modified.

        • modify-complete - Resource discovery modification is complete.

        • modify-failed - Resource discovery modification has failed.

        • delete-in-progress - Resource discovery is being deleted.

        • delete-complete - Resource discovery deletion is complete.

        • delete-failed - Resource discovery deletion has failed.

        • isolate-in-progress - Amazon Web Services account that created the resource discovery has been removed and the resource discovery is being isolated.

        • isolate-complete - Resource discovery isolation is complete.

        • restore-in-progress - Amazon Web Services account that created the resource discovery and was isolated has been restored.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        IpamResourceDiscoveryState, IpamResourceDiscoveryState
      • tags

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

        A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

        Parameters:
        tags - A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        IpamResourceDiscovery.Builder tags​(Tag... tags)

        A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

        Parameters:
        tags - A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key and an optional value. You can use tags to search and filter your resources or track your Amazon Web Services costs.

        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)