@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetProgrammaticAccessCredentialsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetProgrammaticAccessCredentialsResult() |
Modifier and Type | Method and Description |
---|---|
GetProgrammaticAccessCredentialsResult |
clone() |
boolean |
equals(Object obj) |
Credentials |
getCredentials()
Returns the programmatic credentials.
|
Long |
getDurationInMinutes()
Returns the duration in which the credentials will remain valid.
|
int |
hashCode() |
void |
setCredentials(Credentials credentials)
Returns the programmatic credentials.
|
void |
setDurationInMinutes(Long durationInMinutes)
Returns the duration in which the credentials will remain valid.
|
String |
toString()
Returns a string representation of this object.
|
GetProgrammaticAccessCredentialsResult |
withCredentials(Credentials credentials)
Returns the programmatic credentials.
|
GetProgrammaticAccessCredentialsResult |
withDurationInMinutes(Long durationInMinutes)
Returns the duration in which the credentials will remain valid.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetProgrammaticAccessCredentialsResult()
public void setCredentials(Credentials credentials)
Returns the programmatic credentials.
credentials
- Returns the programmatic credentials.public Credentials getCredentials()
Returns the programmatic credentials.
public GetProgrammaticAccessCredentialsResult withCredentials(Credentials credentials)
Returns the programmatic credentials.
credentials
- Returns the programmatic credentials.public void setDurationInMinutes(Long durationInMinutes)
Returns the duration in which the credentials will remain valid.
durationInMinutes
- Returns the duration in which the credentials will remain valid.public Long getDurationInMinutes()
Returns the duration in which the credentials will remain valid.
public GetProgrammaticAccessCredentialsResult withDurationInMinutes(Long durationInMinutes)
Returns the duration in which the credentials will remain valid.
durationInMinutes
- Returns the duration in which the credentials will remain valid.public String toString()
toString
in class Object
Object.toString()
public GetProgrammaticAccessCredentialsResult clone()