@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceSpecificCredentialRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateServiceSpecificCredentialRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateServiceSpecificCredentialRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getServiceName()
The name of the Amazon Web Services service that is to be associated with the credentials.
|
String |
getUserName()
The name of the IAM user that is to be associated with the credentials.
|
int |
hashCode() |
void |
setServiceName(String serviceName)
The name of the Amazon Web Services service that is to be associated with the credentials.
|
void |
setUserName(String userName)
The name of the IAM user that is to be associated with the credentials.
|
String |
toString()
Returns a string representation of this object.
|
CreateServiceSpecificCredentialRequest |
withServiceName(String serviceName)
The name of the Amazon Web Services service that is to be associated with the credentials.
|
CreateServiceSpecificCredentialRequest |
withUserName(String userName)
The name of the IAM user that is to be associated with the credentials.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic CreateServiceSpecificCredentialRequest()
public void setUserName(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: _+=,.@-
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: _+=,.@-
public String getUserName()
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 CreateServiceSpecificCredentialRequest withUserName(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: _+=,.@-
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: _+=,.@-
public void setServiceName(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.
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 String getServiceName()
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 withServiceName(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.
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 String toString()
toString in class ObjectObject.toString()public CreateServiceSpecificCredentialRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()