@Generated(value="software.amazon.awssdk:codegen") public final class CreatePlatformVersionRequest extends ElasticBeanstalkRequest implements ToCopyableBuilder<CreatePlatformVersionRequest.Builder,CreatePlatformVersionRequest>
Request to create a new platform version.
Modifier and Type | Class and Description |
---|---|
static interface |
CreatePlatformVersionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreatePlatformVersionRequest.Builder |
builder() |
String |
environmentName()
The name of the builder environment.
|
boolean |
equals(Object obj) |
<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<ConfigurationOptionSetting> |
optionSettings()
The configuration option settings to apply to the builder environment.
|
S3Location |
platformDefinitionBundle()
The location of the platform definition archive in Amazon S3.
|
String |
platformName()
The name of your custom platform.
|
String |
platformVersion()
The number, such as 1.0.2, for the new platform version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreatePlatformVersionRequest.Builder> |
serializableBuilderClass() |
CreatePlatformVersionRequest.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 platformName()
The name of your custom platform.
public String platformVersion()
The number, such as 1.0.2, for the new platform version.
public S3Location platformDefinitionBundle()
The location of the platform definition archive in Amazon S3.
public String environmentName()
The name of the builder environment.
public List<ConfigurationOptionSetting> optionSettings()
The configuration option settings to apply to the builder environment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreatePlatformVersionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreatePlatformVersionRequest.Builder,CreatePlatformVersionRequest>
toBuilder
in class ElasticBeanstalkRequest
public static CreatePlatformVersionRequest.Builder builder()
public static Class<? extends CreatePlatformVersionRequest.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.