Interface GetAssetContentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAssetContentResponse.Builder,,GetAssetContentResponse> DevOpsAgentResponse.Builder,SdkBuilder<GetAssetContentResponse.Builder,,GetAssetContentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAssetContentResponse
@Mutable
@NotThreadSafe
public static interface GetAssetContentResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<GetAssetContentResponse.Builder,GetAssetContentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAssetContentResponse.Buildercontent(Consumer<AssetZipContent.Builder> content) The asset content as a zip filecontent(AssetZipContent content) The asset content as a zip fileThe asset version this content belongs toMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
content
The asset content as a zip file
- Parameters:
content- The asset content as a zip file- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The asset content as a zip file
This is a convenience method that creates an instance of theAssetZipContent.Builderavoiding the need to create one manually viaAssetZipContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(AssetZipContent).- Parameters:
content- a consumer that will call methods onAssetZipContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
version
The asset version this content belongs to
- Parameters:
version- The asset version this content belongs to- Returns:
- Returns a reference to this object so that method calls can be chained together.
-