Interface CreateDataGrantResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateDataGrantResponse.Builder,CreateDataGrantResponse>,DataExchangeResponse.Builder,SdkBuilder<CreateDataGrantResponse.Builder,CreateDataGrantResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateDataGrantResponse
public static interface CreateDataGrantResponse.Builder extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<CreateDataGrantResponse.Builder,CreateDataGrantResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDataGrantResponse.BuilderacceptanceState(String acceptanceState)The acceptance state of the data grant.CreateDataGrantResponse.BuilderacceptanceState(DataGrantAcceptanceState acceptanceState)The acceptance state of the data grant.CreateDataGrantResponse.BuilderacceptedAt(Instant acceptedAt)The timestamp of when the data grant was accepted.CreateDataGrantResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the data grant.CreateDataGrantResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the data grant was created.CreateDataGrantResponse.BuilderdataSetId(String dataSetId)The ID of the data set associated to the data grant.CreateDataGrantResponse.Builderdescription(String description)The description of the data grant.CreateDataGrantResponse.BuilderendsAt(Instant endsAt)The timestamp of when access to the associated data set ends.CreateDataGrantResponse.BuildergrantDistributionScope(String grantDistributionScope)The distribution scope for the data grant.CreateDataGrantResponse.BuildergrantDistributionScope(GrantDistributionScope grantDistributionScope)The distribution scope for the data grant.CreateDataGrantResponse.Builderid(String id)The ID of the data grant.CreateDataGrantResponse.Buildername(String name)The name of the data grant.CreateDataGrantResponse.BuilderreceiverPrincipal(String receiverPrincipal)The Amazon Web Services account ID of the data grant receiver.CreateDataGrantResponse.BuildersenderPrincipal(String senderPrincipal)The Amazon Web Services account ID of the data grant sender.CreateDataGrantResponse.BuildersourceDataSetId(String sourceDataSetId)The ID of the data set used to create the data grant.CreateDataGrantResponse.Buildertags(Map<String,String> tags)The tags associated to the data grant.CreateDataGrantResponse.BuilderupdatedAt(Instant updatedAt)The timestamp of when the data grant was last updated.-
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
-
name
CreateDataGrantResponse.Builder name(String name)
The name of the data grant.
- Parameters:
name- The name of the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
senderPrincipal
CreateDataGrantResponse.Builder senderPrincipal(String senderPrincipal)
The Amazon Web Services account ID of the data grant sender.
- Parameters:
senderPrincipal- The Amazon Web Services account ID of the data grant sender.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receiverPrincipal
CreateDataGrantResponse.Builder receiverPrincipal(String receiverPrincipal)
The Amazon Web Services account ID of the data grant receiver.
- Parameters:
receiverPrincipal- The Amazon Web Services account ID of the data grant receiver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateDataGrantResponse.Builder description(String description)
The description of the data grant.
- Parameters:
description- The description of the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acceptanceState
CreateDataGrantResponse.Builder acceptanceState(String acceptanceState)
The acceptance state of the data grant.
- Parameters:
acceptanceState- The acceptance state of the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataGrantAcceptanceState,DataGrantAcceptanceState
-
acceptanceState
CreateDataGrantResponse.Builder acceptanceState(DataGrantAcceptanceState acceptanceState)
The acceptance state of the data grant.
- Parameters:
acceptanceState- The acceptance state of the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataGrantAcceptanceState,DataGrantAcceptanceState
-
acceptedAt
CreateDataGrantResponse.Builder acceptedAt(Instant acceptedAt)
The timestamp of when the data grant was accepted.
- Parameters:
acceptedAt- The timestamp of when the data grant was accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endsAt
CreateDataGrantResponse.Builder endsAt(Instant endsAt)
The timestamp of when access to the associated data set ends.
- Parameters:
endsAt- The timestamp of when access to the associated data set ends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantDistributionScope
CreateDataGrantResponse.Builder grantDistributionScope(String grantDistributionScope)
The distribution scope for the data grant.
- Parameters:
grantDistributionScope- The distribution scope for the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrantDistributionScope,GrantDistributionScope
-
grantDistributionScope
CreateDataGrantResponse.Builder grantDistributionScope(GrantDistributionScope grantDistributionScope)
The distribution scope for the data grant.
- Parameters:
grantDistributionScope- The distribution scope for the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrantDistributionScope,GrantDistributionScope
-
dataSetId
CreateDataGrantResponse.Builder dataSetId(String dataSetId)
The ID of the data set associated to the data grant.
- Parameters:
dataSetId- The ID of the data set associated to the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDataSetId
CreateDataGrantResponse.Builder sourceDataSetId(String sourceDataSetId)
The ID of the data set used to create the data grant.
- Parameters:
sourceDataSetId- The ID of the data set used to create the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
CreateDataGrantResponse.Builder id(String id)
The ID of the data grant.
- Parameters:
id- The ID of the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
CreateDataGrantResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the data grant.
- Parameters:
arn- The Amazon Resource Name (ARN) of the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
CreateDataGrantResponse.Builder createdAt(Instant createdAt)
The timestamp of when the data grant was created.
- Parameters:
createdAt- The timestamp of when the data grant was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
CreateDataGrantResponse.Builder updatedAt(Instant updatedAt)
The timestamp of when the data grant was last updated.
- Parameters:
updatedAt- The timestamp of when the data grant was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDataGrantResponse.Builder tags(Map<String,String> tags)
The tags associated to the data grant. A tag is a key-value pair.
- Parameters:
tags- The tags associated to the data grant. A tag is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-