Interface DiscoveredResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DiscoveredResource.Builder,,DiscoveredResource> SdkBuilder<DiscoveredResource.Builder,,DiscoveredResource> SdkPojo
- Enclosing class:
DiscoveredResource
@Mutable
@NotThreadSafe
public static interface DiscoveredResource.Builder
extends SdkPojo, CopyableBuilder<DiscoveredResource.Builder,DiscoveredResource>
-
Method Summary
Modifier and TypeMethodDescriptionThe AWS account the resource belongs to.The AWS Region that the resource is in.resourceIdentifier(String resourceIdentifier) The identifier (typically the ARN) of the resource.resourceType(String resourceType) The resource type, in lowercaseservice:typeform (for example,s3:bucket).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, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceIdentifier
The identifier (typically the ARN) of the resource.
- Parameters:
resourceIdentifier- The identifier (typically the ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The resource type, in lowercase
service:typeform (for example,s3:bucket). This is the form thatresourcetype:filters use.- Parameters:
resourceType- The resource type, in lowercaseservice:typeform (for example,s3:bucket). This is the form thatresourcetype:filters use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The AWS account the resource belongs to.
- Parameters:
accountId- The AWS account the resource belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The AWS Region that the resource is in. The value is
globalfor global resources such as IAM.- Parameters:
region- The AWS Region that the resource is in. The value isglobalfor global resources such as IAM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-