Interface CreateDataSetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDataSetResponse.Builder,CreateDataSetResponse>
,DataExchangeResponse.Builder
,SdkBuilder<CreateDataSetResponse.Builder,CreateDataSetResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateDataSetResponse
public static interface CreateDataSetResponse.Builder extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<CreateDataSetResponse.Builder,CreateDataSetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDataSetResponse.Builder
arn(String arn)
The ARN for the data set.CreateDataSetResponse.Builder
assetType(String assetType)
The type of asset that is added to a data set.CreateDataSetResponse.Builder
assetType(AssetType assetType)
The type of asset that is added to a data set.CreateDataSetResponse.Builder
createdAt(Instant createdAt)
The date and time that the data set was created, in ISO 8601 format.CreateDataSetResponse.Builder
description(String description)
The description for the data set.CreateDataSetResponse.Builder
id(String id)
The unique identifier for the data set.CreateDataSetResponse.Builder
name(String name)
The name of the data set.CreateDataSetResponse.Builder
origin(String origin)
A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).CreateDataSetResponse.Builder
origin(Origin origin)
A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).default CreateDataSetResponse.Builder
originDetails(Consumer<OriginDetails.Builder> originDetails)
If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.CreateDataSetResponse.Builder
originDetails(OriginDetails originDetails)
If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.CreateDataSetResponse.Builder
sourceId(String sourceId)
The data set ID of the owned data set corresponding to the entitled data set being viewed.CreateDataSetResponse.Builder
tags(Map<String,String> tags)
The tags for the data set.CreateDataSetResponse.Builder
updatedAt(Instant updatedAt)
The date and time that the data set was last updated, in ISO 8601 format.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dataexchange.model.DataExchangeResponse.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
CreateDataSetResponse.Builder arn(String arn)
The ARN for the data set.
- Parameters:
arn
- The ARN for the data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetType
CreateDataSetResponse.Builder assetType(String assetType)
The type of asset that is added to a data set.
-
assetType
CreateDataSetResponse.Builder assetType(AssetType assetType)
The type of asset that is added to a data set.
-
createdAt
CreateDataSetResponse.Builder createdAt(Instant createdAt)
The date and time that the data set was created, in ISO 8601 format.
- Parameters:
createdAt
- The date and time that the data set was created, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateDataSetResponse.Builder description(String description)
The description for the data set.
- Parameters:
description
- The description for the data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
CreateDataSetResponse.Builder id(String id)
The unique identifier for the data set.
- Parameters:
id
- The unique identifier for the data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateDataSetResponse.Builder name(String name)
The name of the data set.
- Parameters:
name
- The name of the data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
origin
CreateDataSetResponse.Builder origin(String origin)
A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
-
origin
CreateDataSetResponse.Builder origin(Origin origin)
A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
-
originDetails
CreateDataSetResponse.Builder originDetails(OriginDetails originDetails)
If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
- Parameters:
originDetails
- If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originDetails
default CreateDataSetResponse.Builder originDetails(Consumer<OriginDetails.Builder> originDetails)
If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
This is a convenience method that creates an instance of theOriginDetails.Builder
avoiding the need to create one manually viaOriginDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooriginDetails(OriginDetails)
.- Parameters:
originDetails
- a consumer that will call methods onOriginDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
originDetails(OriginDetails)
-
sourceId
CreateDataSetResponse.Builder sourceId(String sourceId)
The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
- Parameters:
sourceId
- The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDataSetResponse.Builder tags(Map<String,String> tags)
The tags for the data set.
- Parameters:
tags
- The tags for the data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
CreateDataSetResponse.Builder updatedAt(Instant updatedAt)
The date and time that the data set was last updated, in ISO 8601 format.
- Parameters:
updatedAt
- The date and time that the data set was last updated, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-