Interface ExternalAccessDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExternalAccessDetails.Builder,ExternalAccessDetails>,SdkBuilder<ExternalAccessDetails.Builder,ExternalAccessDetails>,SdkPojo
- Enclosing class:
- ExternalAccessDetails
public static interface ExternalAccessDetails.Builder extends SdkPojo, CopyableBuilder<ExternalAccessDetails.Builder,ExternalAccessDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExternalAccessDetails.Builderaction(String... action)The action in the analyzed policy statement that an external principal has permission to use.ExternalAccessDetails.Builderaction(Collection<String> action)The action in the analyzed policy statement that an external principal has permission to use.ExternalAccessDetails.Buildercondition(Map<String,String> condition)The condition in the analyzed policy statement that resulted in an external access finding.ExternalAccessDetails.BuilderisPublic(Boolean isPublic)Specifies whether the external access finding is public.ExternalAccessDetails.Builderprincipal(Map<String,String> principal)The external principal that has access to a resource within the zone of trust.ExternalAccessDetails.Buildersources(Collection<FindingSource> sources)The sources of the external access finding.ExternalAccessDetails.Buildersources(Consumer<FindingSource.Builder>... sources)The sources of the external access finding.ExternalAccessDetails.Buildersources(FindingSource... sources)The sources of the external access finding.-
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 Detail
-
action
ExternalAccessDetails.Builder action(Collection<String> action)
The action in the analyzed policy statement that an external principal has permission to use.
- Parameters:
action- The action in the analyzed policy statement that an external principal has permission to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
ExternalAccessDetails.Builder action(String... action)
The action in the analyzed policy statement that an external principal has permission to use.
- Parameters:
action- The action in the analyzed policy statement that an external principal has permission to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
ExternalAccessDetails.Builder condition(Map<String,String> condition)
The condition in the analyzed policy statement that resulted in an external access finding.
- Parameters:
condition- The condition in the analyzed policy statement that resulted in an external access finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPublic
ExternalAccessDetails.Builder isPublic(Boolean isPublic)
Specifies whether the external access finding is public.
- Parameters:
isPublic- Specifies whether the external access finding is public.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
ExternalAccessDetails.Builder principal(Map<String,String> principal)
The external principal that has access to a resource within the zone of trust.
- Parameters:
principal- The external principal that has access to a resource within the zone of trust.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
ExternalAccessDetails.Builder sources(Collection<FindingSource> sources)
The sources of the external access finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
- Parameters:
sources- The sources of the external access finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
ExternalAccessDetails.Builder sources(FindingSource... sources)
The sources of the external access finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
- Parameters:
sources- The sources of the external access finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
ExternalAccessDetails.Builder sources(Consumer<FindingSource.Builder>... sources)
The sources of the external access finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
This is a convenience method that creates an instance of theFindingSource.Builderavoiding the need to create one manually viaFindingSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sources(List.) - Parameters:
sources- a consumer that will call methods onFindingSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sources(java.util.Collection)
-
-