Interface ResourcesAffected.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourcesAffected.Builder,,ResourcesAffected> SdkBuilder<ResourcesAffected.Builder,,ResourcesAffected> SdkPojo
- Enclosing class:
ResourcesAffected
public static interface ResourcesAffected.Builder
extends SdkPojo, CopyableBuilder<ResourcesAffected.Builder,ResourcesAffected>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourcesAffected.Builders3Bucket(Consumer<S3Bucket.Builder> s3Bucket) The details of the S3 bucket that the finding applies to.The details of the S3 bucket that the finding applies to.default ResourcesAffected.Builders3Object(Consumer<S3Object.Builder> s3Object) The details of the S3 object that the finding applies to.The details of the S3 object that the finding applies to.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
-
s3Bucket
The details of the S3 bucket that the finding applies to.
- Parameters:
s3Bucket- The details of the S3 bucket that the finding applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
The details of the S3 bucket that the finding applies to.
This is a convenience method that creates an instance of theS3Bucket.Builderavoiding the need to create one manually viaS3Bucket.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Bucket(S3Bucket).- Parameters:
s3Bucket- a consumer that will call methods onS3Bucket.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Object
The details of the S3 object that the finding applies to.
- Parameters:
s3Object- The details of the S3 object that the finding applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Object
The details of the S3 object that the finding applies to.
This is a convenience method that creates an instance of theS3Object.Builderavoiding the need to create one manually viaS3Object.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Object(S3Object).- Parameters:
s3Object- a consumer that will call methods onS3Object.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-