@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateProfileRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getDurationSeconds()
The number of seconds the vended session credentials are valid for.
|
List<String> |
getManagedPolicyArns()
A list of managed policy ARNs that apply to the vended session credentials.
|
String |
getName()
The name of the profile.
|
String |
getProfileId()
The unique identifier of the profile.
|
List<String> |
getRoleArns()
A list of IAM roles that this profile can assume in a temporary credential request.
|
String |
getSessionPolicy()
A session policy that applies to the trust boundary of the vended session credentials.
|
int |
hashCode() |
void |
setDurationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
|
void |
setManagedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
void |
setName(String name)
The name of the profile.
|
void |
setProfileId(String profileId)
The unique identifier of the profile.
|
void |
setRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
|
void |
setSessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
|
String |
toString()
Returns a string representation of this object.
|
UpdateProfileRequest |
withDurationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
|
UpdateProfileRequest |
withManagedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
UpdateProfileRequest |
withManagedPolicyArns(String... managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
UpdateProfileRequest |
withName(String name)
The name of the profile.
|
UpdateProfileRequest |
withProfileId(String profileId)
The unique identifier of the profile.
|
UpdateProfileRequest |
withRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
|
UpdateProfileRequest |
withRoleArns(String... roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
|
UpdateProfileRequest |
withSessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session 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 void setDurationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
durationSeconds
- The number of seconds the vended session credentials are valid for.public Integer getDurationSeconds()
The number of seconds the vended session credentials are valid for.
public UpdateProfileRequest withDurationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
durationSeconds
- The number of seconds the vended session credentials are valid for.public List<String> getManagedPolicyArns()
A list of managed policy ARNs that apply to the vended session credentials.
public void setManagedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
managedPolicyArns
- A list of managed policy ARNs that apply to the vended session credentials.public UpdateProfileRequest withManagedPolicyArns(String... managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
NOTE: This method appends the values to the existing list (if any). Use
setManagedPolicyArns(java.util.Collection)
or withManagedPolicyArns(java.util.Collection)
if
you want to override the existing values.
managedPolicyArns
- A list of managed policy ARNs that apply to the vended session credentials.public UpdateProfileRequest withManagedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
managedPolicyArns
- A list of managed policy ARNs that apply to the vended session credentials.public void setName(String name)
The name of the profile.
name
- The name of the profile.public String getName()
The name of the profile.
public UpdateProfileRequest withName(String name)
The name of the profile.
name
- The name of the profile.public void setProfileId(String profileId)
The unique identifier of the profile.
profileId
- The unique identifier of the profile.public String getProfileId()
The unique identifier of the profile.
public UpdateProfileRequest withProfileId(String profileId)
The unique identifier of the profile.
profileId
- The unique identifier of the profile.public List<String> getRoleArns()
A list of IAM roles that this profile can assume in a temporary credential request.
public void setRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
roleArns
- A list of IAM roles that this profile can assume in a temporary credential request.public UpdateProfileRequest withRoleArns(String... roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
NOTE: This method appends the values to the existing list (if any). Use
setRoleArns(java.util.Collection)
or withRoleArns(java.util.Collection)
if you want to override
the existing values.
roleArns
- A list of IAM roles that this profile can assume in a temporary credential request.public UpdateProfileRequest withRoleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
roleArns
- A list of IAM roles that this profile can assume in a temporary credential request.public void setSessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
sessionPolicy
- A session policy that applies to the trust boundary of the vended session credentials.public String getSessionPolicy()
A session policy that applies to the trust boundary of the vended session credentials.
public UpdateProfileRequest withSessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
sessionPolicy
- A session policy that applies to the trust boundary of the vended session credentials.public String toString()
toString
in class Object
Object.toString()
public UpdateProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()