Interface GetImportJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetImportJobResponse.Builder,,GetImportJobResponse> PinpointResponse.Builder,SdkBuilder<GetImportJobResponse.Builder,,GetImportJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetImportJobResponse
public static interface GetImportJobResponse.Builder
extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetImportJobResponse.Builder,GetImportJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetImportJobResponse.BuilderimportJobResponse(Consumer<ImportJobResponse.Builder> importJobResponse) Sets the value of the ImportJobResponse property for this object.importJobResponse(ImportJobResponse importJobResponse) Sets the value of the ImportJobResponse property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpoint.model.PinpointResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
importJobResponse
Sets the value of the ImportJobResponse property for this object.- Parameters:
importJobResponse- The new value for the ImportJobResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importJobResponse
default GetImportJobResponse.Builder importJobResponse(Consumer<ImportJobResponse.Builder> importJobResponse) Sets the value of the ImportJobResponse property for this object. This is a convenience method that creates an instance of theImportJobResponse.Builderavoiding the need to create one manually viaImportJobResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportJobResponse(ImportJobResponse).- Parameters:
importJobResponse- a consumer that will call methods onImportJobResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-