@Generated(value="software.amazon.awssdk:codegen") public final class RegisterTypeRequest extends CloudFormationRequest implements ToCopyableBuilder<RegisterTypeRequest.Builder,RegisterTypeRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegisterTypeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RegisterTypeRequest.Builder |
builder() |
String |
clientRequestToken()
A unique identifier that acts as an idempotency key for this registration request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionRoleArn()
The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the resource provider.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LoggingConfig |
loggingConfig()
Specifies logging configuration information for a type.
|
String |
schemaHandlerPackage()
A url to the S3 bucket containing the schema handler package that contains the schema, event handlers, and
associated files for the type you want to register.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegisterTypeRequest.Builder> |
serializableBuilderClass() |
RegisterTypeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
RegistryType |
type()
The kind of type.
|
String |
typeAsString()
The kind of type.
|
String |
typeName()
The name of the type being registered.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final RegistryType type()
The kind of type.
Currently, the only valid value is RESOURCE.
If the service returns an enum value that is not available in the current SDK version, type will return
RegistryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Currently, the only valid value is RESOURCE.
RegistryTypepublic final String typeAsString()
The kind of type.
Currently, the only valid value is RESOURCE.
If the service returns an enum value that is not available in the current SDK version, type will return
RegistryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Currently, the only valid value is RESOURCE.
RegistryTypepublic final String typeName()
The name of the type being registered.
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
The following organization namespaces are reserved and cannot be used in your resource type names:
Alexa
AMZN
Amazon
AWS
Custom
Dev
We recommend that type names adhere to the following pattern: company_or_organization::service::type.
The following organization namespaces are reserved and cannot be used in your resource type names:
Alexa
AMZN
Amazon
AWS
Custom
Dev
public final String schemaHandlerPackage()
A url to the S3 bucket containing the schema handler package that contains the schema, event handlers, and associated files for the type you want to register.
For information on generating a schema handler package for the type you want to register, see submit in the CloudFormation CLI User Guide.
The user registering the resource provider type must be able to access the the schema handler package in the S3 bucket. That is, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the AWS Identity and Access Management User Guide.
For information on generating a schema handler package for the type you want to register, see submit in the CloudFormation CLI User Guide.
The user registering the resource provider type must be able to access the the schema handler package in the S3 bucket. That is, the user needs to have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the AWS Identity and Access Management User Guide.
public final LoggingConfig loggingConfig()
Specifies logging configuration information for a type.
public final String executionRoleArn()
The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the resource provider. If your resource type calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. When CloudFormation needs to invoke the resource provider handler, CloudFormation assumes this execution role to create a temporary session token, which it then passes to the resource provider handler, thereby supplying your resource provider with the appropriate credentials.
public final String clientRequestToken()
A unique identifier that acts as an idempotency key for this registration request. Specifying a client request token prevents CloudFormation from generating more than one version of a type from the same registeration request, even if the request is submitted multiple times.
public RegisterTypeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RegisterTypeRequest.Builder,RegisterTypeRequest>toBuilder in class CloudFormationRequestpublic static RegisterTypeRequest.Builder builder()
public static Class<? extends RegisterTypeRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.