@Generated(value="software.amazon.awssdk:codegen") public final class ExportServerEngineAttributeRequest extends OpsWorksCmRequest implements ToCopyableBuilder<ExportServerEngineAttributeRequest.Builder,ExportServerEngineAttributeRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ExportServerEngineAttributeRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ExportServerEngineAttributeRequest.Builder |
builder() |
boolean |
equals(Object obj) |
String |
exportAttributeName()
The name of the export attribute.
|
<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() |
List<EngineAttribute> |
inputAttributes()
The list of engine attributes.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExportServerEngineAttributeRequest.Builder> |
serializableBuilderClass() |
String |
serverName()
The name of the Server to which the attribute is being exported from
|
ExportServerEngineAttributeRequest.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 exportAttributeName()
The name of the export attribute. Currently supported export attribute is "Userdata" which exports a userdata
script filled out with parameters provided in the InputAttributes
list.
InputAttributes
list.public String serverName()
The name of the Server to which the attribute is being exported from
public List<EngineAttribute> inputAttributes()
The list of engine attributes. The list type is EngineAttribute
. EngineAttribute
is a
pair of attribute name and value. For ExportAttributeName
"Userdata", currently supported input
attribute names are: - "RunList": For Chef, an ordered list of roles and/or recipes that are run in the exact
order. For Puppet, this parameter is ignored. - "OrganizationName": For Chef, an organization name. AWS OpsWorks
for Chef Server always creates the organization "default". For Puppet, this parameter is ignored. -
"NodeEnvironment": For Chef, a node environment (eg. development, staging, onebox). For Puppet, this parameter is
ignored. - "NodeClientVersion": For Chef, version of Chef Engine (3 numbers separated by dots, eg. "13.8.5"). If
empty, it uses the latest one. For Puppet, this parameter is ignored.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
EngineAttribute
.
EngineAttribute
is a pair of attribute name and value. For ExportAttributeName
"Userdata", currently supported input attribute names are: - "RunList": For Chef, an ordered list of
roles and/or recipes that are run in the exact order. For Puppet, this parameter is ignored. -
"OrganizationName": For Chef, an organization name. AWS OpsWorks for Chef Server always creates the
organization "default". For Puppet, this parameter is ignored. - "NodeEnvironment": For Chef, a node
environment (eg. development, staging, onebox). For Puppet, this parameter is ignored. -
"NodeClientVersion": For Chef, version of Chef Engine (3 numbers separated by dots, eg. "13.8.5"). If
empty, it uses the latest one. For Puppet, this parameter is ignored.public ExportServerEngineAttributeRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ExportServerEngineAttributeRequest.Builder,ExportServerEngineAttributeRequest>
toBuilder
in class OpsWorksCmRequest
public static ExportServerEngineAttributeRequest.Builder builder()
public static Class<? extends ExportServerEngineAttributeRequest.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.