@Generated(value="software.amazon.awssdk:codegen") public final class GetAuthorizationTokenRequest extends CodeartifactRequest implements ToCopyableBuilder<GetAuthorizationTokenRequest.Builder,GetAuthorizationTokenRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetAuthorizationTokenRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetAuthorizationTokenRequest.Builder |
builder() |
String |
domain()
The name of the domain that is in scope for the generated authorization token.
|
String |
domainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
Long |
durationSeconds()
The time, in seconds, that the generated authorization token is valid.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetAuthorizationTokenRequest.Builder> |
serializableBuilderClass() |
GetAuthorizationTokenRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domain()
The name of the domain that is in scope for the generated authorization token.
public final String domainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public final Long durationSeconds()
The time, in seconds, that the generated authorization token is valid. Valid values are 0 and any
number between 900 (15 minutes) and 43200 (12 hours). A value of 0 will
set the expiration of the authorization token to the same expiration of the user's role's temporary credentials.
0
and any number between 900 (15 minutes) and 43200 (12 hours). A value of
0 will set the expiration of the authorization token to the same expiration of the user's
role's temporary credentials.public GetAuthorizationTokenRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetAuthorizationTokenRequest.Builder,GetAuthorizationTokenRequest>toBuilder in class CodeartifactRequestpublic static GetAuthorizationTokenRequest.Builder builder()
public static Class<? extends GetAuthorizationTokenRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.