Interface GetDataGrantResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDataGrantResponse.Builder,GetDataGrantResponse>,DataExchangeResponse.Builder,SdkBuilder<GetDataGrantResponse.Builder,GetDataGrantResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetDataGrantResponse
public static interface GetDataGrantResponse.Builder extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<GetDataGrantResponse.Builder,GetDataGrantResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetDataGrantResponse.BuilderacceptanceState(String acceptanceState)The acceptance state of the data grant.GetDataGrantResponse.BuilderacceptanceState(DataGrantAcceptanceState acceptanceState)The acceptance state of the data grant.GetDataGrantResponse.BuilderacceptedAt(Instant acceptedAt)The timestamp of when the data grant was accepted.GetDataGrantResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the data grant.GetDataGrantResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the data grant was created.GetDataGrantResponse.BuilderdataSetId(String dataSetId)The ID of the data set associated to the data grant.GetDataGrantResponse.Builderdescription(String description)The description of the data grant.GetDataGrantResponse.BuilderendsAt(Instant endsAt)The timestamp of when access to the associated data set ends.GetDataGrantResponse.BuildergrantDistributionScope(String grantDistributionScope)The distribution scope for the data grant.GetDataGrantResponse.BuildergrantDistributionScope(GrantDistributionScope grantDistributionScope)The distribution scope for the data grant.GetDataGrantResponse.Builderid(String id)The ID of the data grant.GetDataGrantResponse.Buildername(String name)The name of the data grant.GetDataGrantResponse.BuilderreceiverPrincipal(String receiverPrincipal)The Amazon Web Services account ID of the data grant receiver.GetDataGrantResponse.BuildersenderPrincipal(String senderPrincipal)The Amazon Web Services account ID of the data grant sender.GetDataGrantResponse.BuildersourceDataSetId(String sourceDataSetId)The ID of the data set used to create the data grant.GetDataGrantResponse.Buildertags(Map<String,String> tags)The tags associated to the data grant.GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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
GetDataGrantResponse.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.
-
-