@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 service principal for the AWS service to which this role is attached.
|
static CreateServiceLinkedRoleRequest.Builder |
builder() |
String |
customSuffix()
|
String |
description()
The description of the role.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateServiceLinkedRoleRequest.Builder> |
serializableBuilderClass() |
CreateServiceLinkedRoleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String awsServiceName()
The service principal for 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.
Service principals are unique and case-sensitive. To find the exact service principal for your service-linked role, see AWS Services That Work with IAM in the IAM User Guide. Look for the services that have Yes in the Service-Linked Role column. Choose the Yes link to view the service-linked role documentation for that service.
elasticbeanstalk.amazonaws.com.
Service principals are unique and case-sensitive. To find the exact service principal for your service-linked role, see AWS Services That Work with IAM in the IAM User Guide. Look for the services that have Yes in the Service-Linked Role column. Choose the Yes link to view the service-linked role documentation for that service.
public String description()
The description of the role.
public String customSuffix()
A string that you provide, which is combined with the service-provided prefix 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.
Some services do not support the CustomSuffix parameter. If you provide an optional suffix and the
operation fails, try the operation again without the suffix.
A string that you provide, which is combined with the service-provided prefix 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.
Some services do not support the CustomSuffix parameter. If you provide an optional suffix
and the operation fails, try the operation again without the suffix.
public CreateServiceLinkedRoleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateServiceLinkedRoleRequest.Builder,CreateServiceLinkedRoleRequest>toBuilder in class IamRequestpublic static CreateServiceLinkedRoleRequest.Builder builder()
public static Class<? extends CreateServiceLinkedRoleRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.