Interface MigrationOutputConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MigrationOutputConfiguration.Builder,,MigrationOutputConfiguration> SdkBuilder<MigrationOutputConfiguration.Builder,,MigrationOutputConfiguration> SdkPojo
- Enclosing class:
MigrationOutputConfiguration
@Mutable
@NotThreadSafe
public static interface MigrationOutputConfiguration.Builder
extends SdkPojo, CopyableBuilder<MigrationOutputConfiguration.Builder,MigrationOutputConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the general purpose bucket that the migration writes every report to, for examplearn:aws:s3:::amzn-s3-demo-bucket.prefixes(Consumer<MigrationReportPrefixes.Builder> prefixes) The key prefix for each report.prefixes(MigrationReportPrefixes prefixes) The key prefix for each report.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
-
bucket
The Amazon Resource Name (ARN) of the general purpose bucket that the migration writes every report to, for example
arn:aws:s3:::amzn-s3-demo-bucket. Specify the ARN, not the bucket name.- Parameters:
bucket- The Amazon Resource Name (ARN) of the general purpose bucket that the migration writes every report to, for examplearn:aws:s3:::amzn-s3-demo-bucket. Specify the ARN, not the bucket name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixes
The key prefix for each report.
- Parameters:
prefixes- The key prefix for each report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixes
default MigrationOutputConfiguration.Builder prefixes(Consumer<MigrationReportPrefixes.Builder> prefixes) The key prefix for each report.
This is a convenience method that creates an instance of theMigrationReportPrefixes.Builderavoiding the need to create one manually viaMigrationReportPrefixes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprefixes(MigrationReportPrefixes).- Parameters:
prefixes- a consumer that will call methods onMigrationReportPrefixes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-