Interface Resource.Builder

    • Method Detail

      • lastReportedAt

        Resource.Builder lastReportedAt​(Instant lastReportedAt)

        The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.

        Parameters:
        lastReportedAt - The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • owningAccountId

        Resource.Builder owningAccountId​(String owningAccountId)

        The Amazon Web Services account that owns the resource.

        Parameters:
        owningAccountId - The Amazon Web Services account that owns the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • properties

        Resource.Builder properties​(Collection<ResourceProperty> properties)

        A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

        Parameters:
        properties - A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • properties

        Resource.Builder properties​(ResourceProperty... properties)

        A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

        Parameters:
        properties - A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • properties

        Resource.Builder properties​(Consumer<ResourceProperty.Builder>... properties)

        A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

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

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

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

        Resource.Builder region​(String region)

        The Amazon Web Services Region in which the resource was created and exists.

        Parameters:
        region - The Amazon Web Services Region in which the resource was created and exists.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceType

        Resource.Builder resourceType​(String resourceType)

        The type of the resource.

        Parameters:
        resourceType - The type of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • service

        Resource.Builder service​(String service)

        The Amazon Web Service that owns the resource and is responsible for creating and updating it.

        Parameters:
        service - The Amazon Web Service that owns the resource and is responsible for creating and updating it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.