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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExportEc2InstanceRecommendationsResponse.BuilderjobId(String jobId)The identification number of the export job.default ExportEc2InstanceRecommendationsResponse.Builders3Destination(Consumer<S3Destination.Builder> s3Destination)An object that describes the destination Amazon S3 bucket of a recommendations export file.ExportEc2InstanceRecommendationsResponse.Builders3Destination(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, 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 Detail
-
jobId
ExportEc2InstanceRecommendationsResponse.Builder jobId(String 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
ExportEc2InstanceRecommendationsResponse.Builder s3Destination(S3Destination 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:
s3Destination(S3Destination)
-
-