@Generated(value="software.amazon.awssdk:codegen") public final class CreateInstanceProfileRequest extends DeviceFarmRequest implements ToCopyableBuilder<CreateInstanceProfileRequest.Builder,CreateInstanceProfileRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateInstanceProfileRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateInstanceProfileRequest.Builder |
builder() |
String |
description()
The description of your instance profile.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<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.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludeAppPackagesFromCleanup()
Returns true if the ExcludeAppPackagesFromCleanup property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
String |
name()
The name of your instance profile.
|
Boolean |
packageCleanup()
When set to
true, Device Farm removes app packages after a test run. |
Boolean |
rebootAfterUse()
When set to
true, Device Farm reboots the instance after a test run. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateInstanceProfileRequest.Builder> |
serializableBuilderClass() |
CreateInstanceProfileRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of your instance profile.
public String description()
The description of your instance profile.
public Boolean packageCleanup()
When set to true, Device Farm removes app packages after a test run. The default value is
false for private devices.
true, Device Farm removes app packages after a test run. The default value is
false for private devices.public boolean hasExcludeAppPackagesFromCleanup()
public List<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.
The list of packages is considered only if you set packageCleanup to true.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExcludeAppPackagesFromCleanup() to see if a value was sent in this field.
The list of packages is considered only if you set packageCleanup to true.
public Boolean rebootAfterUse()
When set to true, Device Farm reboots the instance after a test run. The default value is
true.
true, Device Farm reboots the instance after a test run. The default value is
true.public CreateInstanceProfileRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateInstanceProfileRequest.Builder,CreateInstanceProfileRequest>toBuilder in class DeviceFarmRequestpublic static CreateInstanceProfileRequest.Builder builder()
public static Class<? extends CreateInstanceProfileRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.