Interface ExportServerEngineAttributeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ExportServerEngineAttributeRequest.Builder,,ExportServerEngineAttributeRequest> OpsWorksCmRequest.Builder,SdkBuilder<ExportServerEngineAttributeRequest.Builder,,ExportServerEngineAttributeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ExportServerEngineAttributeRequest
-
Method Summary
Modifier and TypeMethodDescriptionexportAttributeName(String exportAttributeName) The name of the export attribute.inputAttributes(Collection<EngineAttribute> inputAttributes) The list of engine attributes.inputAttributes(Consumer<EngineAttribute.Builder>... inputAttributes) The list of engine attributes.inputAttributes(EngineAttribute... inputAttributes) The list of engine attributes.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serverName(String serverName) The name of the server from which you are exporting the attribute.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworkscm.model.OpsWorksCmRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
exportAttributeName
The name of the export attribute. Currently, the supported export attribute is
Userdata. This exports a user data script that includes parameters and values provided in theInputAttributeslist.- Parameters:
exportAttributeName- The name of the export attribute. Currently, the supported export attribute isUserdata. This exports a user data script that includes parameters and values provided in theInputAttributeslist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverName
The name of the server from which you are exporting the attribute.
- Parameters:
serverName- The name of the server from which you are exporting the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputAttributes
ExportServerEngineAttributeRequest.Builder inputAttributes(Collection<EngineAttribute> inputAttributes) The list of engine attributes. The list type is
EngineAttribute. AnEngineAttributelist item is a pair that includes an attribute name and its value. For theUserdataExportAttributeName, the following are supported engine attribute names.-
RunList In Chef, a list of roles or recipes that are run in the specified order. In Puppet, this parameter is ignored.
-
OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate always creates the organization
default. In Puppet, this parameter is ignored. -
NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). In Puppet, this parameter is ignored.
-
NodeClientVersion In Chef, the version of the Chef engine (three numbers separated by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, this parameter is ignored.
- Parameters:
inputAttributes- The list of engine attributes. The list type isEngineAttribute. AnEngineAttributelist item is a pair that includes an attribute name and its value. For theUserdataExportAttributeName, the following are supported engine attribute names.-
RunList In Chef, a list of roles or recipes that are run in the specified order. In Puppet, this parameter is ignored.
-
OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate always creates the organization
default. In Puppet, this parameter is ignored. -
NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). In Puppet, this parameter is ignored.
-
NodeClientVersion In Chef, the version of the Chef engine (three numbers separated by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, this parameter is ignored.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
inputAttributes
The list of engine attributes. The list type is
EngineAttribute. AnEngineAttributelist item is a pair that includes an attribute name and its value. For theUserdataExportAttributeName, the following are supported engine attribute names.-
RunList In Chef, a list of roles or recipes that are run in the specified order. In Puppet, this parameter is ignored.
-
OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate always creates the organization
default. In Puppet, this parameter is ignored. -
NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). In Puppet, this parameter is ignored.
-
NodeClientVersion In Chef, the version of the Chef engine (three numbers separated by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, this parameter is ignored.
- Parameters:
inputAttributes- The list of engine attributes. The list type isEngineAttribute. AnEngineAttributelist item is a pair that includes an attribute name and its value. For theUserdataExportAttributeName, the following are supported engine attribute names.-
RunList In Chef, a list of roles or recipes that are run in the specified order. In Puppet, this parameter is ignored.
-
OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate always creates the organization
default. In Puppet, this parameter is ignored. -
NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). In Puppet, this parameter is ignored.
-
NodeClientVersion In Chef, the version of the Chef engine (three numbers separated by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, this parameter is ignored.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
inputAttributes
ExportServerEngineAttributeRequest.Builder inputAttributes(Consumer<EngineAttribute.Builder>... inputAttributes) The list of engine attributes. The list type is
EngineAttribute. AnEngineAttributelist item is a pair that includes an attribute name and its value. For theUserdataExportAttributeName, the following are supported engine attribute names.-
RunList In Chef, a list of roles or recipes that are run in the specified order. In Puppet, this parameter is ignored.
-
OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate always creates the organization
default. In Puppet, this parameter is ignored. -
NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). In Puppet, this parameter is ignored.
-
NodeClientVersion In Chef, the version of the Chef engine (three numbers separated by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, this parameter is ignored.
EngineAttribute.Builderavoiding the need to create one manually viaEngineAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputAttributes(List<EngineAttribute>).- Parameters:
inputAttributes- a consumer that will call methods onEngineAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
ExportServerEngineAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ExportServerEngineAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-