@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInstanceProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateInstanceProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateInstanceProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of your instance profile.
|
List<String> |
getExcludeAppPackagesFromCleanup()
An array of strings specifying the list of app packages that should not be cleaned up from the device after a
test run is over.
|
String |
getName()
The name of your instance profile.
|
Boolean |
getPackageCleanup()
When set to
true, Device Farm will remove app packages after a test run. |
Boolean |
getRebootAfterUse()
When set to
true, Device Farm will reboot the instance after a test run. |
int |
hashCode() |
Boolean |
isPackageCleanup()
When set to
true, Device Farm will remove app packages after a test run. |
Boolean |
isRebootAfterUse()
When set to
true, Device Farm will reboot the instance after a test run. |
void |
setDescription(String description)
The description of your instance profile.
|
void |
setExcludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings specifying 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 name of your instance profile.
|
void |
setPackageCleanup(Boolean packageCleanup)
When set to
true, Device Farm will remove app packages after a test run. |
void |
setRebootAfterUse(Boolean rebootAfterUse)
When set to
true, Device Farm will reboot the instance after a test run. |
String |
toString()
Returns a string representation of this object.
|
CreateInstanceProfileRequest |
withDescription(String description)
The description of your instance profile.
|
CreateInstanceProfileRequest |
withExcludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings specifying the list of app packages that should not be cleaned up from the device after a
test run is over.
|
CreateInstanceProfileRequest |
withExcludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings specifying the list of app packages that should not be cleaned up from the device after a
test run is over.
|
CreateInstanceProfileRequest |
withName(String name)
The name of your instance profile.
|
CreateInstanceProfileRequest |
withPackageCleanup(Boolean packageCleanup)
When set to
true, Device Farm will remove app packages after a test run. |
CreateInstanceProfileRequest |
withRebootAfterUse(Boolean rebootAfterUse)
When set to
true, Device Farm will reboot the instance after a test run. |
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 setName(String name)
The name of your instance profile.
name - The name of your instance profile.public String getName()
The name of your instance profile.
public CreateInstanceProfileRequest withName(String name)
The name of your instance profile.
name - The name of your instance profile.public void setDescription(String description)
The description of your instance profile.
description - The description of your instance profile.public String getDescription()
The description of your instance profile.
public CreateInstanceProfileRequest withDescription(String description)
The description of your instance profile.
description - The description of your instance profile.public void setPackageCleanup(Boolean packageCleanup)
When set to true, Device Farm will remove app packages after a test run. The default value is
false for private devices.
packageCleanup - When set to true, Device Farm will remove app packages after a test run. The default value is
false for private devices.public Boolean getPackageCleanup()
When set to true, Device Farm will remove app packages after a test run. The default value is
false for private devices.
true, Device Farm will remove app packages after a test run. The default value
is false for private devices.public CreateInstanceProfileRequest withPackageCleanup(Boolean packageCleanup)
When set to true, Device Farm will remove app packages after a test run. The default value is
false for private devices.
packageCleanup - When set to true, Device Farm will remove app packages after a test run. The default value is
false for private devices.public Boolean isPackageCleanup()
When set to true, Device Farm will remove app packages after a test run. The default value is
false for private devices.
true, Device Farm will remove app packages after a test run. The default value
is false for private devices.public List<String> getExcludeAppPackagesFromCleanup()
An array of strings specifying 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 specifying 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 specifying 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 CreateInstanceProfileRequest withExcludeAppPackagesFromCleanup(String... excludeAppPackagesFromCleanup)
An array of strings specifying 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 specifying 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 CreateInstanceProfileRequest withExcludeAppPackagesFromCleanup(Collection<String> excludeAppPackagesFromCleanup)
An array of strings specifying 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 specifying 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)
When set to true, Device Farm will reboot the instance after a test run. The default value is
true.
rebootAfterUse - When set to true, Device Farm will reboot the instance after a test run. The default value is
true.public Boolean getRebootAfterUse()
When set to true, Device Farm will reboot the instance after a test run. The default value is
true.
true, Device Farm will reboot the instance after a test run. The default value
is true.public CreateInstanceProfileRequest withRebootAfterUse(Boolean rebootAfterUse)
When set to true, Device Farm will reboot the instance after a test run. The default value is
true.
rebootAfterUse - When set to true, Device Farm will reboot the instance after a test run. The default value is
true.public Boolean isRebootAfterUse()
When set to true, Device Farm will reboot the instance after a test run. The default value is
true.
true, Device Farm will reboot the instance after a test run. The default value
is true.public String toString()
toString in class ObjectObject.toString()public CreateInstanceProfileRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.