Interface CreateAssetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateAssetResponse.Builder,CreateAssetResponse>,MediaPackageVodResponse.Builder,SdkBuilder<CreateAssetResponse.Builder,CreateAssetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateAssetResponse
public static interface CreateAssetResponse.Builder extends MediaPackageVodResponse.Builder, SdkPojo, CopyableBuilder<CreateAssetResponse.Builder,CreateAssetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateAssetResponse.Builderarn(String arn)The ARN of the Asset.CreateAssetResponse.BuildercreatedAt(String createdAt)The time the Asset was initially submitted for Ingest.CreateAssetResponse.BuilderegressEndpoints(Collection<EgressEndpoint> egressEndpoints)The list of egress endpoints available for the Asset.CreateAssetResponse.BuilderegressEndpoints(Consumer<EgressEndpoint.Builder>... egressEndpoints)The list of egress endpoints available for the Asset.CreateAssetResponse.BuilderegressEndpoints(EgressEndpoint... egressEndpoints)The list of egress endpoints available for the Asset.CreateAssetResponse.Builderid(String id)The unique identifier for the Asset.CreateAssetResponse.BuilderpackagingGroupId(String packagingGroupId)The ID of the PackagingGroup for the Asset.CreateAssetResponse.BuilderresourceId(String resourceId)The resource ID to include in SPEKE key requests.CreateAssetResponse.BuildersourceArn(String sourceArn)ARN of the source object in S3.CreateAssetResponse.BuildersourceRoleArn(String sourceRoleArn)The IAM role_arn used to access the source S3 bucket.CreateAssetResponse.Buildertags(Map<String,String> tags)Sets the value of the Tags property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediapackagevod.model.MediaPackageVodResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
CreateAssetResponse.Builder arn(String arn)
The ARN of the Asset.- Parameters:
arn- The ARN of the Asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
CreateAssetResponse.Builder createdAt(String createdAt)
The time the Asset was initially submitted for Ingest.- Parameters:
createdAt- The time the Asset was initially submitted for Ingest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressEndpoints
CreateAssetResponse.Builder egressEndpoints(Collection<EgressEndpoint> egressEndpoints)
The list of egress endpoints available for the Asset.- Parameters:
egressEndpoints- The list of egress endpoints available for the Asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressEndpoints
CreateAssetResponse.Builder egressEndpoints(EgressEndpoint... egressEndpoints)
The list of egress endpoints available for the Asset.- Parameters:
egressEndpoints- The list of egress endpoints available for the Asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressEndpoints
CreateAssetResponse.Builder egressEndpoints(Consumer<EgressEndpoint.Builder>... egressEndpoints)
The list of egress endpoints available for the Asset. This is a convenience method that creates an instance of theEgressEndpoint.Builderavoiding the need to create one manually viaEgressEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#egressEndpoints(List.) - Parameters:
egressEndpoints- a consumer that will call methods onEgressEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#egressEndpoints(java.util.Collection)
-
id
CreateAssetResponse.Builder id(String id)
The unique identifier for the Asset.- Parameters:
id- The unique identifier for the Asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packagingGroupId
CreateAssetResponse.Builder packagingGroupId(String packagingGroupId)
The ID of the PackagingGroup for the Asset.- Parameters:
packagingGroupId- The ID of the PackagingGroup for the Asset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
CreateAssetResponse.Builder resourceId(String resourceId)
The resource ID to include in SPEKE key requests.- Parameters:
resourceId- The resource ID to include in SPEKE key requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceArn
CreateAssetResponse.Builder sourceArn(String sourceArn)
ARN of the source object in S3.- Parameters:
sourceArn- ARN of the source object in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRoleArn
CreateAssetResponse.Builder sourceRoleArn(String sourceRoleArn)
The IAM role_arn used to access the source S3 bucket.- Parameters:
sourceRoleArn- The IAM role_arn used to access the source S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateAssetResponse.Builder tags(Map<String,String> tags)
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-