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