Interface Resource.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<Resource.Builder,,Resource> SdkBuilder<Resource.Builder,,Resource> SdkPojo
- Enclosing class:
 Resource
public static interface Resource.Builder
extends SdkPojo, CopyableBuilder<Resource.Builder,Resource> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault Resource.Builderdetails(Consumer<ResourceDetails.Builder> details) An object that contains details about the resource involved in a finding.details(ResourceDetails details) An object that contains details about the resource involved in a finding.The ID of the resource.The tags attached to the resource.The type of resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
details
An object that contains details about the resource involved in a finding.
- Parameters:
 details- An object that contains details about the resource involved in a finding.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
details
An object that contains details about the resource involved in a finding.
This is a convenience method that creates an instance of theResourceDetails.Builderavoiding the need to create one manually viaResourceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetails(ResourceDetails).- Parameters:
 details- a consumer that will call methods onResourceDetails.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
id
The ID of the resource.
- Parameters:
 id- The ID of the resource.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
tags
The tags attached to the resource.
- Parameters:
 tags- The tags attached to the resource.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
type
The type of resource.
- Parameters:
 type- The type of resource.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -