Interface AnalyzedResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnalyzedResource.Builder,
,AnalyzedResource> SdkBuilder<AnalyzedResource.Builder,
,AnalyzedResource> SdkPojo
- Enclosing class:
AnalyzedResource
-
Method Summary
Modifier and TypeMethodDescriptionThe actions that an external principal is granted permission to use by the policy that generated the finding.actions
(Collection<String> actions) The actions that an external principal is granted permission to use by the policy that generated the finding.analyzedAt
(Instant analyzedAt) The time at which the resource was analyzed.The time at which the finding was created.An error message.Indicates whether the policy that generated the finding grants public access to the resource.resourceArn
(String resourceArn) The ARN of the resource that was analyzed.resourceOwnerAccount
(String resourceOwnerAccount) The Amazon Web Services account ID that owns the resource.resourceType
(String resourceType) The type of the resource that was analyzed.resourceType
(ResourceType resourceType) The type of the resource that was analyzed.Indicates how the access that generated the finding is granted.sharedVia
(Collection<String> sharedVia) Indicates how the access that generated the finding is granted.The current status of the finding generated from the analyzed resource.status
(FindingStatus status) The current status of the finding generated from the analyzed resource.The time at which the finding was updated.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, sdkFields
-
Method Details
-
resourceArn
The ARN of the resource that was analyzed.
- Parameters:
resourceArn
- The ARN of the resource that was analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of the resource that was analyzed.
- Parameters:
resourceType
- The type of the resource that was analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of the resource that was analyzed.
- Parameters:
resourceType
- The type of the resource that was analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time at which the finding was created.
- Parameters:
createdAt
- The time at which the finding was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analyzedAt
The time at which the resource was analyzed.
- Parameters:
analyzedAt
- The time at which the resource was analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time at which the finding was updated.
- Parameters:
updatedAt
- The time at which the finding was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPublic
Indicates whether the policy that generated the finding grants public access to the resource.
- Parameters:
isPublic
- Indicates whether the policy that generated the finding grants public access to the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions that an external principal is granted permission to use by the policy that generated the finding.
- Parameters:
actions
- The actions that an external principal is granted permission to use by the policy that generated the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The actions that an external principal is granted permission to use by the policy that generated the finding.
- Parameters:
actions
- The actions that an external principal is granted permission to use by the policy that generated the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the finding generated from the analyzed resource.
- Parameters:
status
- The current status of the finding generated from the analyzed resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the finding generated from the analyzed resource.
- Parameters:
status
- The current status of the finding generated from the analyzed resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceOwnerAccount
The Amazon Web Services account ID that owns the resource.
- Parameters:
resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
An error message.
- Parameters:
error
- An error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-