@Generated(value="software.amazon.awssdk:codegen") public final class CreateServiceLinkedRoleRequest extends IamRequest implements ToCopyableBuilder<CreateServiceLinkedRoleRequest.Builder,CreateServiceLinkedRoleRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateServiceLinkedRoleRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
awsServiceName()
The AWS service to which this role is attached.
|
static CreateServiceLinkedRoleRequest.Builder |
builder() |
String |
customSuffix()
A string that you provide, which is combined with the service name to form the complete role name.
|
String |
description()
The description of the role.
|
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() |
static Class<? extends CreateServiceLinkedRoleRequest.Builder> |
serializableBuilderClass() |
CreateServiceLinkedRoleRequest.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 awsServiceName()
The AWS service to which this role is attached. You use a string similar to a URL but without the http:// in
front. For example: elasticbeanstalk.amazonaws.com
elasticbeanstalk.amazonaws.com
public String description()
The description of the role.
public String customSuffix()
A string that you provide, which is combined with the service name to form the complete role name. If you make
multiple requests for the same service, then you must supply a different CustomSuffix
for each
request. Otherwise the request fails with a duplicate role name error. For example, you could add -1
or -debug
to the suffix.
CustomSuffix
for each request. Otherwise the request fails with a duplicate role name error. For example, you could
add -1
or -debug
to the suffix.public CreateServiceLinkedRoleRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateServiceLinkedRoleRequest.Builder,CreateServiceLinkedRoleRequest>
toBuilder
in class IamRequest
public static CreateServiceLinkedRoleRequest.Builder builder()
public static Class<? extends CreateServiceLinkedRoleRequest.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.