@Generated(value="software.amazon.awssdk:codegen") public final class PutResourceConfigRequest extends ConfigRequest implements ToCopyableBuilder<PutResourceConfigRequest.Builder,PutResourceConfigRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutResourceConfigRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutResourceConfigRequest.Builder |
builder() |
String |
configuration()
The configuration object of the resource in valid JSON format.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
resourceId()
Unique identifier of the resource.
|
String |
resourceName()
Name of the resource.
|
String |
resourceType()
The type of the resource.
|
String |
schemaVersionId()
Version of the schema registered for the ResourceType in CloudFormation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutResourceConfigRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
Tags associated with the resource.
|
PutResourceConfigRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceType()
The type of the resource. The custom resource type must be registered with CloudFormation.
You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the first part of the ResourceType up to the first ::.
You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the first part of the ResourceType up to the first ::.
public final String schemaVersionId()
Version of the schema registered for the ResourceType in CloudFormation.
public final String resourceId()
Unique identifier of the resource.
public final String resourceName()
Name of the resource.
public final String configuration()
The configuration object of the resource in valid JSON format. It must match the schema registered with CloudFormation.
The configuration JSON must not exceed 64 KB.
The configuration JSON must not exceed 64 KB.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
Tags associated with the resource.
This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services resources.
Tags for PutResourceConfig are tags that you supply for the configuration items of your custom
resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services
resources. Tags for PutResourceConfig are tags that you supply for the configuration items
of your custom resources.
public PutResourceConfigRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutResourceConfigRequest.Builder,PutResourceConfigRequest>toBuilder in class ConfigRequestpublic static PutResourceConfigRequest.Builder builder()
public static Class<? extends PutResourceConfigRequest.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 © 2023. All rights reserved.