@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceSpecificCredentialMetadata extends Object implements Serializable, Cloneable
Contains additional details about a service-specific credential.
Constructor and Description |
---|
ServiceSpecificCredentialMetadata() |
Modifier and Type | Method and Description |
---|---|
ServiceSpecificCredentialMetadata |
clone() |
boolean |
equals(Object obj) |
Date |
getCreateDate()
The date and time, in ISO 8601 date-time format, when the
service-specific credential were created.
|
String |
getServiceName()
The name of the service associated with the service-specific credential.
|
String |
getServiceSpecificCredentialId()
The unique identifier for the service-specific credential.
|
String |
getServiceUserName()
The generated user name for the service-specific credential.
|
String |
getStatus()
The status of the service-specific credential.
|
String |
getUserName()
The name of the IAM user associated with the service-specific credential.
|
int |
hashCode() |
void |
setCreateDate(Date createDate)
The date and time, in ISO 8601 date-time format, when the
service-specific credential were created.
|
void |
setServiceName(String serviceName)
The name of the service associated with the service-specific credential.
|
void |
setServiceSpecificCredentialId(String serviceSpecificCredentialId)
The unique identifier for the service-specific credential.
|
void |
setServiceUserName(String serviceUserName)
The generated user name for the service-specific credential.
|
void |
setStatus(StatusType status)
The status of the service-specific credential.
|
void |
setStatus(String status)
The status of the service-specific credential.
|
void |
setUserName(String userName)
The name of the IAM user associated with the service-specific credential.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ServiceSpecificCredentialMetadata |
withCreateDate(Date createDate)
The date and time, in ISO 8601 date-time format, when the
service-specific credential were created.
|
ServiceSpecificCredentialMetadata |
withServiceName(String serviceName)
The name of the service associated with the service-specific credential.
|
ServiceSpecificCredentialMetadata |
withServiceSpecificCredentialId(String serviceSpecificCredentialId)
The unique identifier for the service-specific credential.
|
ServiceSpecificCredentialMetadata |
withServiceUserName(String serviceUserName)
The generated user name for the service-specific credential.
|
ServiceSpecificCredentialMetadata |
withStatus(StatusType status)
The status of the service-specific credential.
|
ServiceSpecificCredentialMetadata |
withStatus(String status)
The status of the service-specific credential.
|
ServiceSpecificCredentialMetadata |
withUserName(String userName)
The name of the IAM user associated with the service-specific credential.
|
public void setUserName(String userName)
The name of the IAM user associated with the service-specific credential.
userName
- The name of the IAM user associated with the service-specific credential.public String getUserName()
The name of the IAM user associated with the service-specific credential.
public ServiceSpecificCredentialMetadata withUserName(String userName)
The name of the IAM user associated with the service-specific credential.
userName
- The name of the IAM user associated with the service-specific credential.public void setStatus(String status)
The status of the service-specific credential. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the service-specific credential. Active
means the key is valid for API calls,
while Inactive
means it is not.StatusType
public String getStatus()
The status of the service-specific credential. Active
means the key is valid for API calls, while
Inactive
means it is not.
Active
means the key is valid for API calls,
while Inactive
means it is not.StatusType
public ServiceSpecificCredentialMetadata withStatus(String status)
The status of the service-specific credential. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the service-specific credential. Active
means the key is valid for API calls,
while Inactive
means it is not.StatusType
public void setStatus(StatusType status)
The status of the service-specific credential. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the service-specific credential. Active
means the key is valid for API calls,
while Inactive
means it is not.StatusType
public ServiceSpecificCredentialMetadata withStatus(StatusType status)
The status of the service-specific credential. Active
means the key is valid for API calls, while
Inactive
means it is not.
status
- The status of the service-specific credential. Active
means the key is valid for API calls,
while Inactive
means it is not.StatusType
public void setServiceUserName(String serviceUserName)
The generated user name for the service-specific credential.
serviceUserName
- The generated user name for the service-specific credential.public String getServiceUserName()
The generated user name for the service-specific credential.
public ServiceSpecificCredentialMetadata withServiceUserName(String serviceUserName)
The generated user name for the service-specific credential.
serviceUserName
- The generated user name for the service-specific credential.public void setCreateDate(Date createDate)
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
createDate
- The date and time, in ISO 8601 date-time format, when the
service-specific credential were created.public Date getCreateDate()
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
public ServiceSpecificCredentialMetadata withCreateDate(Date createDate)
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
createDate
- The date and time, in ISO 8601 date-time format, when the
service-specific credential were created.public void setServiceSpecificCredentialId(String serviceSpecificCredentialId)
The unique identifier for the service-specific credential.
serviceSpecificCredentialId
- The unique identifier for the service-specific credential.public String getServiceSpecificCredentialId()
The unique identifier for the service-specific credential.
public ServiceSpecificCredentialMetadata withServiceSpecificCredentialId(String serviceSpecificCredentialId)
The unique identifier for the service-specific credential.
serviceSpecificCredentialId
- The unique identifier for the service-specific credential.public void setServiceName(String serviceName)
The name of the service associated with the service-specific credential.
serviceName
- The name of the service associated with the service-specific credential.public String getServiceName()
The name of the service associated with the service-specific credential.
public ServiceSpecificCredentialMetadata withServiceName(String serviceName)
The name of the service associated with the service-specific credential.
serviceName
- The name of the service associated with the service-specific credential.public String toString()
toString
in class Object
Object.toString()
public ServiceSpecificCredentialMetadata clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.