Interface GetAuthorizationTokenRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeartifactRequest.Builder,CopyableBuilder<GetAuthorizationTokenRequest.Builder,GetAuthorizationTokenRequest>,SdkBuilder<GetAuthorizationTokenRequest.Builder,GetAuthorizationTokenRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetAuthorizationTokenRequest
public static interface GetAuthorizationTokenRequest.Builder extends CodeartifactRequest.Builder, SdkPojo, CopyableBuilder<GetAuthorizationTokenRequest.Builder,GetAuthorizationTokenRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetAuthorizationTokenRequest.Builderdomain(String domain)The name of the domain that is in scope for the generated authorization token.GetAuthorizationTokenRequest.BuilderdomainOwner(String domainOwner)The 12-digit account number of the Amazon Web Services account that owns the domain.GetAuthorizationTokenRequest.BuilderdurationSeconds(Long durationSeconds)The time, in seconds, that the generated authorization token is valid.GetAuthorizationTokenRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetAuthorizationTokenRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
domain
GetAuthorizationTokenRequest.Builder domain(String domain)
The name of the domain that is in scope for the generated authorization token.
- Parameters:
domain- The name of the domain that is in scope for the generated authorization token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainOwner
GetAuthorizationTokenRequest.Builder domainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- Parameters:
domainOwner- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationSeconds
GetAuthorizationTokenRequest.Builder durationSeconds(Long durationSeconds)
The time, in seconds, that the generated authorization token is valid. Valid values are
0and any number between900(15 minutes) and43200(12 hours). A value of0will set the expiration of the authorization token to the same expiration of the user's role's temporary credentials.- Parameters:
durationSeconds- The time, in seconds, that the generated authorization token is valid. Valid values are0and any number between900(15 minutes) and43200(12 hours). A value of0will set the expiration of the authorization token to the same expiration of the user's role's temporary credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetAuthorizationTokenRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetAuthorizationTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-