Interface ResourceResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceResult.Builder,
,ResourceResult> SdkBuilder<ResourceResult.Builder,
,ResourceResult> SdkPojo
- Enclosing class:
ResourceResult
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account that owns the resource.findingsSummary
(Collection<ResourceFindingsSummary> findingsSummary) An aggregated view of security findings associated with a resource.findingsSummary
(Consumer<ResourceFindingsSummary.Builder>... findingsSummary) An aggregated view of security findings associated with a resource.findingsSummary
(ResourceFindingsSummary... findingsSummary) An aggregated view of security findings associated with a resource.The Amazon Web Services Region where the resource is located.resourceArn
(String resourceArn) Specifies the ARN that uniquely identifies a resource.resourceCategory
(String resourceCategory) The grouping where the resource belongs.resourceCategory
(ResourceCategory resourceCategory) The grouping where the resource belongs.resourceConfig
(Document resourceConfig) The configuration details of a resource.resourceCreationTimeDt
(String resourceCreationTimeDt) The time when the resource was created.resourceDetailCaptureTimeDt
(String resourceDetailCaptureTimeDt) The timestamp when information about the resource was captured.resourceId
(String resourceId) The unique identifier for a resource.resourceName
(String resourceName) The name of the resource.resourceTags
(Collection<ResourceTag> resourceTags) The key-value pairs associated with a resource.resourceTags
(Consumer<ResourceTag.Builder>... resourceTags) The key-value pairs associated with a resource.resourceTags
(ResourceTag... resourceTags) The key-value pairs associated with a resource.resourceType
(String resourceType) The type of resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceArn
Specifies the ARN that uniquely identifies a resource.
- Parameters:
resourceArn
- Specifies the ARN that uniquely identifies a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The unique identifier for a resource.
- Parameters:
resourceId
- The unique identifier for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account that owns the resource.
- Parameters:
accountId
- The Amazon Web Services account that owns the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Amazon Web Services Region where the resource is located.
- Parameters:
region
- The Amazon Web Services Region where the resource is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCategory
The grouping where the resource belongs.
- Parameters:
resourceCategory
- The grouping where the resource belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceCategory
The grouping where the resource belongs.
- Parameters:
resourceCategory
- The grouping where the resource belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of resource.
- Parameters:
resourceType
- The type of resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
The name of the resource.
- Parameters:
resourceName
- The name of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCreationTimeDt
The time when the resource was created.
- Parameters:
resourceCreationTimeDt
- The time when the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDetailCaptureTimeDt
The timestamp when information about the resource was captured.
- Parameters:
resourceDetailCaptureTimeDt
- The timestamp when information about the resource was captured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsSummary
An aggregated view of security findings associated with a resource.
- Parameters:
findingsSummary
- An aggregated view of security findings associated with a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsSummary
An aggregated view of security findings associated with a resource.
- Parameters:
findingsSummary
- An aggregated view of security findings associated with a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsSummary
ResourceResult.Builder findingsSummary(Consumer<ResourceFindingsSummary.Builder>... findingsSummary) An aggregated view of security findings associated with a resource.
This is a convenience method that creates an instance of theResourceFindingsSummary.Builder
avoiding the need to create one manually viaResourceFindingsSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindingsSummary(List<ResourceFindingsSummary>)
.- Parameters:
findingsSummary
- a consumer that will call methods onResourceFindingsSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceTags
The key-value pairs associated with a resource.
- Parameters:
resourceTags
- The key-value pairs associated with a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
The key-value pairs associated with a resource.
- Parameters:
resourceTags
- The key-value pairs associated with a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
The key-value pairs associated with a resource.
This is a convenience method that creates an instance of theResourceTag.Builder
avoiding the need to create one manually viaResourceTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceTags(List<ResourceTag>)
.- Parameters:
resourceTags
- a consumer that will call methods onResourceTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceConfig
The configuration details of a resource.
- Parameters:
resourceConfig
- The configuration details of a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-