Interface ExportEc2InstanceRecommendationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ComputeOptimizerResponse.Builder,CopyableBuilder<ExportEc2InstanceRecommendationsResponse.Builder,,ExportEc2InstanceRecommendationsResponse> SdkBuilder<ExportEc2InstanceRecommendationsResponse.Builder,,ExportEc2InstanceRecommendationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ExportEc2InstanceRecommendationsResponse
public static interface ExportEc2InstanceRecommendationsResponse.Builder
extends ComputeOptimizerResponse.Builder, SdkPojo, CopyableBuilder<ExportEc2InstanceRecommendationsResponse.Builder,ExportEc2InstanceRecommendationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe identification number of the export job.s3Destination(Consumer<S3Destination.Builder> s3Destination) An object that describes the destination Amazon S3 bucket of a recommendations export file.s3Destination(S3Destination s3Destination) An object that describes the destination Amazon S3 bucket of a recommendations export file.Methods inherited from interface software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobId
The identification number of the export job.
Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.
- Parameters:
jobId- The identification number of the export job.Use the DescribeRecommendationExportJobs action, and specify the job ID to view the status of an export job.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
An object that describes the destination Amazon S3 bucket of a recommendations export file.
- Parameters:
s3Destination- An object that describes the destination Amazon S3 bucket of a recommendations export file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Destination
default ExportEc2InstanceRecommendationsResponse.Builder s3Destination(Consumer<S3Destination.Builder> s3Destination) An object that describes the destination Amazon S3 bucket of a recommendations export file.
This is a convenience method that creates an instance of theS3Destination.Builderavoiding the need to create one manually viaS3Destination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Destination(S3Destination).- Parameters:
s3Destination- a consumer that will call methods onS3Destination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-