Interface GetAuthorizationTokenResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<GetAuthorizationTokenResponse.Builder,,GetAuthorizationTokenResponse> SdkBuilder<GetAuthorizationTokenResponse.Builder,,GetAuthorizationTokenResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAuthorizationTokenResponse
public static interface GetAuthorizationTokenResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<GetAuthorizationTokenResponse.Builder,GetAuthorizationTokenResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizationToken(String authorizationToken) The returned authentication token.expiration(Instant expiration) A timestamp that specifies the date and time the authorization token expires.Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
authorizationToken
The returned authentication token.
- Parameters:
authorizationToken- The returned authentication token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
A timestamp that specifies the date and time the authorization token expires.
- Parameters:
expiration- A timestamp that specifies the date and time the authorization token expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-