Interface CreateDataGrantRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDataGrantRequest.Builder,CreateDataGrantRequest>,DataExchangeRequest.Builder,SdkBuilder<CreateDataGrantRequest.Builder,CreateDataGrantRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDataGrantRequest
public static interface CreateDataGrantRequest.Builder extends DataExchangeRequest.Builder, SdkPojo, CopyableBuilder<CreateDataGrantRequest.Builder,CreateDataGrantRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dataexchange.model.DataExchangeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateDataGrantRequest.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.
-
grantDistributionScope
CreateDataGrantRequest.Builder grantDistributionScope(String grantDistributionScope)
The distribution scope of the data grant.
- Parameters:
grantDistributionScope- The distribution scope of the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrantDistributionScope,GrantDistributionScope
-
grantDistributionScope
CreateDataGrantRequest.Builder grantDistributionScope(GrantDistributionScope grantDistributionScope)
The distribution scope of the data grant.
- Parameters:
grantDistributionScope- The distribution scope of the data grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrantDistributionScope,GrantDistributionScope
-
receiverPrincipal
CreateDataGrantRequest.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.
-
sourceDataSetId
CreateDataGrantRequest.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.
-
endsAt
CreateDataGrantRequest.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.
-
description
CreateDataGrantRequest.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.
-
tags
CreateDataGrantRequest.Builder tags(Map<String,String> tags)
The tags to add to the data grant. A tag is a key-value pair.
- Parameters:
tags- The tags to add 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.
-
overrideConfiguration
CreateDataGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDataGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-