@Generated(value="software.amazon.awssdk:codegen") public final class CreateServiceSpecificCredentialRequest extends IamRequest implements ToCopyableBuilder<CreateServiceSpecificCredentialRequest.Builder,CreateServiceSpecificCredentialRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateServiceSpecificCredentialRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateServiceSpecificCredentialRequest.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 CreateServiceSpecificCredentialRequest.Builder> |
serializableBuilderClass() |
String |
serviceName()
The name of the Amazon Web Services service that is to be associated with the credentials.
|
CreateServiceSpecificCredentialRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The name of the IAM user that is to be associated with the credentials.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userName()
The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service.
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 final String serviceName()
The name of the Amazon Web Services service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials.
public CreateServiceSpecificCredentialRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateServiceSpecificCredentialRequest.Builder,CreateServiceSpecificCredentialRequest>toBuilder in class IamRequestpublic static CreateServiceSpecificCredentialRequest.Builder builder()
public static Class<? extends CreateServiceSpecificCredentialRequest.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.