@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateInstanceProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateInstanceProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the instance profile.
|
String |
getDescription()
The updated description for your instance profile.
|
List<String> |
getExcludeAppPackagesFromCleanup()
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a
test run is over.
|
String |
getName()
The updated name for your instance profile.
|
Boolean |
getPackageCleanup()
The updated choice for whether you want to specify package cleanup.
|
Boolean |
getRebootAfterUse()
The updated choice for whether you want to reboot the device after use.
|
int |
hashCode() |
Boolean |
isPackageCleanup()
The updated choice for whether you want to specify package cleanup.
|
Boolean |
isRebootAfterUse()
The updated choice for whether you want to reboot the device after use.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
|
void |
setDescription(String description)
The updated description for your instance profile.
|
void |
setExcludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a
test run is over.
|
void |
setName(String name)
The updated name for your instance profile.
|
void |
setPackageCleanup(Boolean packageCleanup)
The updated choice for whether you want to specify package cleanup.
|
void |
setRebootAfterUse(Boolean rebootAfterUse)
The updated choice for whether you want to reboot the device after use.
|
String |
toString()
Returns a string representation of this object.
|
UpdateInstanceProfileRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
|
UpdateInstanceProfileRequest |
withDescription(String description)
The updated description for your instance profile.
|
UpdateInstanceProfileRequest |
withExcludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a
test run is over.
|
UpdateInstanceProfileRequest |
withExcludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a
test run is over.
|
UpdateInstanceProfileRequest |
withName(String name)
The updated name for your instance profile.
|
UpdateInstanceProfileRequest |
withPackageCleanup(Boolean packageCleanup)
The updated choice for whether you want to specify package cleanup.
|
UpdateInstanceProfileRequest |
withRebootAfterUse(Boolean rebootAfterUse)
The updated choice for whether you want to reboot the device after use.
|
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 void setArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
arn - The Amazon Resource Name (ARN) of the instance profile.public String getArn()
The Amazon Resource Name (ARN) of the instance profile.
public UpdateInstanceProfileRequest withArn(String arn)
The Amazon Resource Name (ARN) of the instance profile.
arn - The Amazon Resource Name (ARN) of the instance profile.public void setName(String name)
The updated name for your instance profile.
name - The updated name for your instance profile.public String getName()
The updated name for your instance profile.
public UpdateInstanceProfileRequest withName(String name)
The updated name for your instance profile.
name - The updated name for your instance profile.public void setDescription(String description)
The updated description for your instance profile.
description - The updated description for your instance profile.public String getDescription()
The updated description for your instance profile.
public UpdateInstanceProfileRequest withDescription(String description)
The updated description for your instance profile.
description - The updated description for your instance profile.public void setPackageCleanup(Boolean packageCleanup)
The updated choice for whether you want to specify package cleanup. The default value is false for
private devices.
packageCleanup - The updated choice for whether you want to specify package cleanup. The default value is
false for private devices.public Boolean getPackageCleanup()
The updated choice for whether you want to specify package cleanup. The default value is false for
private devices.
false for private devices.public UpdateInstanceProfileRequest withPackageCleanup(Boolean packageCleanup)
The updated choice for whether you want to specify package cleanup. The default value is false for
private devices.
packageCleanup - The updated choice for whether you want to specify package cleanup. The default value is
false for private devices.public Boolean isPackageCleanup()
The updated choice for whether you want to specify package cleanup. The default value is false for
private devices.
false for private devices.public List<String> getExcludeAppPackagesFromCleanup()
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
The list of packages is only considered if you set packageCleanup to true.
public void setExcludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
excludeAppPackagesFromCleanup - An array of strings that specifies the list of app packages that should not be cleaned up from the device
after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
public UpdateInstanceProfileRequest withExcludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
NOTE: This method appends the values to the existing list (if any). Use
setExcludeAppPackagesFromCleanup(java.util.Collection) or
withExcludeAppPackagesFromCleanup(java.util.Collection) if you want to override the existing values.
excludeAppPackagesFromCleanup - An array of strings that specifies the list of app packages that should not be cleaned up from the device
after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
public UpdateInstanceProfileRequest withExcludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
excludeAppPackagesFromCleanup - An array of strings that specifies the list of app packages that should not be cleaned up from the device
after a test run is over.
The list of packages is only considered if you set packageCleanup to true.
public void setRebootAfterUse(Boolean rebootAfterUse)
The updated choice for whether you want to reboot the device after use. The default value is true.
rebootAfterUse - The updated choice for whether you want to reboot the device after use. The default value is
true.public Boolean getRebootAfterUse()
The updated choice for whether you want to reboot the device after use. The default value is true.
true.public UpdateInstanceProfileRequest withRebootAfterUse(Boolean rebootAfterUse)
The updated choice for whether you want to reboot the device after use. The default value is true.
rebootAfterUse - The updated choice for whether you want to reboot the device after use. The default value is
true.public Boolean isRebootAfterUse()
The updated choice for whether you want to reboot the device after use. The default value is true.
true.public String toString()
toString in class ObjectObject.toString()public UpdateInstanceProfileRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()