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