Interface GetFindingV2Response.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetFindingV2Response.Builder,
,GetFindingV2Response> SdkBuilder<GetFindingV2Response.Builder,
,GetFindingV2Response> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFindingV2Response
-
Method Summary
Modifier and TypeMethodDescriptionanalyzedAt
(Instant analyzedAt) The time at which the resource-based policy or IAM entity that generated the finding was analyzed.The time at which the finding was created.An error.findingDetails
(Collection<FindingDetails> findingDetails) A localized message that explains the finding and provides guidance on how to address it.findingDetails
(Consumer<FindingDetails.Builder>... findingDetails) A localized message that explains the finding and provides guidance on how to address it.findingDetails
(FindingDetails... findingDetails) A localized message that explains the finding and provides guidance on how to address it.findingType
(String findingType) The type of the finding.findingType
(FindingType findingType) The type of the finding.The ID of the finding to retrieve.A token used for pagination of results returned.The resource that generated the finding.resourceOwnerAccount
(String resourceOwnerAccount) Tye Amazon Web Services account ID that owns the resource.resourceType
(String resourceType) The type of the resource identified in the finding.resourceType
(ResourceType resourceType) The type of the resource identified in the finding.The status of the finding.status
(FindingStatus status) The status of the finding.The time at which the finding was updated.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
analyzedAt
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
- Parameters:
analyzedAt
- The time at which the resource-based policy or IAM entity that generated the finding was analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
error
An error.
- Parameters:
error
- An error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the finding to retrieve.
- Parameters:
id
- The ID of the finding to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token used for pagination of results returned.
- Parameters:
nextToken
- A token used for pagination of results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
The resource that generated the finding.
- Parameters:
resource
- The resource that generated the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of the resource identified in the finding.
- Parameters:
resourceType
- The type of the resource identified in the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of the resource identified in the finding.
- Parameters:
resourceType
- The type of the resource identified in the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceOwnerAccount
Tye Amazon Web Services account ID that owns the resource.
- Parameters:
resourceOwnerAccount
- Tye Amazon Web Services account ID that owns the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the finding.
- Parameters:
status
- The status of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the finding.
- Parameters:
status
- The status of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
findingDetails
A localized message that explains the finding and provides guidance on how to address it.
- Parameters:
findingDetails
- A localized message that explains the finding and provides guidance on how to address it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingDetails
A localized message that explains the finding and provides guidance on how to address it.
- Parameters:
findingDetails
- A localized message that explains the finding and provides guidance on how to address it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingDetails
A localized message that explains the finding and provides guidance on how to address it.
This is a convenience method that creates an instance of theFindingDetails.Builder
avoiding the need to create one manually viaFindingDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindingDetails(List<FindingDetails>)
.- Parameters:
findingDetails
- a consumer that will call methods onFindingDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
findingType
The type of the finding. For external access analyzers, the type is
ExternalAccess
. For unused access analyzers, the type can beUnusedIAMRole
,UnusedIAMUserAccessKey
,UnusedIAMUserPassword
, orUnusedPermission
.- Parameters:
findingType
- The type of the finding. For external access analyzers, the type isExternalAccess
. For unused access analyzers, the type can beUnusedIAMRole
,UnusedIAMUserAccessKey
,UnusedIAMUserPassword
, orUnusedPermission
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
findingType
The type of the finding. For external access analyzers, the type is
ExternalAccess
. For unused access analyzers, the type can beUnusedIAMRole
,UnusedIAMUserAccessKey
,UnusedIAMUserPassword
, orUnusedPermission
.- Parameters:
findingType
- The type of the finding. For external access analyzers, the type isExternalAccess
. For unused access analyzers, the type can beUnusedIAMRole
,UnusedIAMUserAccessKey
,UnusedIAMUserPassword
, orUnusedPermission
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-