@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 AWS 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 AWS 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; useful for testing and debugging.
|
CreateServiceSpecificCredentialRequest |
withServiceName(String serviceName)
The name of the AWS 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, withSdkRequestTimeout
public 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 (per 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 (per 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 (per 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 (per 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 (per 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 (per 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 AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 Object
Object.toString()
public CreateServiceSpecificCredentialRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.