@Generated(value="software.amazon.awssdk:codegen") public final class UpdateInstanceProfileRequest extends DeviceFarmRequest implements ToCopyableBuilder<UpdateInstanceProfileRequest.Builder,UpdateInstanceProfileRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateInstanceProfileRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the instance profile.
|
static UpdateInstanceProfileRequest.Builder |
builder() |
String |
description()
The updated description for your instance profile.
|
boolean |
equals(Object obj) |
List<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.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
name()
The updated name for your instance profile.
|
Boolean |
packageCleanup()
The updated choice for whether you want to specify package cleanup.
|
Boolean |
rebootAfterUse()
The updated choice for whether you want to reboot the device after use.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateInstanceProfileRequest.Builder> |
serializableBuilderClass() |
UpdateInstanceProfileRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String arn()
The Amazon Resource Name (ARN) of the instance profile.
public String name()
The updated name for your instance profile.
public String description()
The updated description for your instance profile.
public Boolean packageCleanup()
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> 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
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
The list of packages is only considered if you set packageCleanup
to true
.
public Boolean rebootAfterUse()
The updated choice for whether you want to reboot the device after use. The default value is true
.
true
.public UpdateInstanceProfileRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateInstanceProfileRequest.Builder,UpdateInstanceProfileRequest>
toBuilder
in class DeviceFarmRequest
public static UpdateInstanceProfileRequest.Builder builder()
public static Class<? extends UpdateInstanceProfileRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.