@Generated(value="software.amazon.awssdk:codegen") public final class CreateAccessKeyRequest extends IamRequest implements ToCopyableBuilder<CreateAccessKeyRequest.Builder,CreateAccessKeyRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateAccessKeyRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateAccessKeyRequest.Builder |
builder() |
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 CreateAccessKeyRequest.Builder> |
serializableBuilderClass() |
CreateAccessKeyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The name of the IAM user that the new key will belong to.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String userName()
The name of the IAM user that the new key will belong to.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public CreateAccessKeyRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateAccessKeyRequest.Builder,CreateAccessKeyRequest>
toBuilder
in class IamRequest
public static CreateAccessKeyRequest.Builder builder()
public static Class<? extends CreateAccessKeyRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.