@Generated(value="software.amazon.awssdk:codegen") public final class CreateConfigurationProfileRequest extends AppConfigRequest implements ToCopyableBuilder<CreateConfigurationProfileRequest.Builder,CreateConfigurationProfileRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateConfigurationProfileRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
applicationId()
The application ID.
|
static CreateConfigurationProfileRequest.Builder |
builder() |
String |
description()
A description of the configuration profile.
|
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.
|
boolean |
hasValidators()
For responses, this returns true if the service returned a value for the Validators property.
|
String |
locationUri()
A URI to locate the configuration.
|
String |
name()
A name for the configuration profile.
|
String |
retrievalRoleArn()
The ARN of an IAM role with permission to access the configuration at the specified
LocationUri. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateConfigurationProfileRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
Metadata to assign to the configuration profile.
|
CreateConfigurationProfileRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of configurations that the configuration profile contains.
|
List<Validator> |
validators()
A list of methods for validating the configuration.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String applicationId()
The application ID.
public final String name()
A name for the configuration profile.
public final String description()
A description of the configuration profile.
public final String locationUri()
A URI to locate the configuration. You can specify the AppConfig hosted configuration store, Systems Manager
(SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted configuration store and
for feature flags, specify hosted. For an SSM document, specify either the document name in the
format ssm-document://<Document_name> or the Amazon Resource Name (ARN). For a parameter,
specify either the parameter name in the format ssm-parameter://<Parameter_name> or the ARN.
For an Amazon S3 object, specify the URI in the following format:
s3://<bucket>/<objectKey> . Here is an example:
s3://my-bucket/my-app/us-east-1/my-config.json
hosted. For an SSM document, specify
either the document name in the format ssm-document://<Document_name> or the Amazon
Resource Name (ARN). For a parameter, specify either the parameter name in the format
ssm-parameter://<Parameter_name> or the ARN. For an Amazon S3 object, specify the URI
in the following format: s3://<bucket>/<objectKey> . Here is an example:
s3://my-bucket/my-app/us-east-1/my-config.jsonpublic final String retrievalRoleArn()
The ARN of an IAM role with permission to access the configuration at the specified LocationUri.
A retrieval role ARN is not required for configurations stored in the AppConfig hosted configuration store. It is required for all other sources that store your configuration.
LocationUri. A retrieval role ARN is not required for configurations stored in the AppConfig hosted configuration store. It is required for all other sources that store your configuration.
public final boolean hasValidators()
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 List<Validator> validators()
A list of methods for validating the configuration.
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 hasValidators() method.
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()
Metadata to assign to the configuration profile. Tags help organize and categorize your AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
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.
public final String type()
The type of configurations that the configuration profile contains. A configuration can be a feature flag used for enabling or disabling new features or a free-form configuration used for distributing configurations to your application.
public CreateConfigurationProfileRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateConfigurationProfileRequest.Builder,CreateConfigurationProfileRequest>toBuilder in class AppConfigRequestpublic static CreateConfigurationProfileRequest.Builder builder()
public static Class<? extends CreateConfigurationProfileRequest.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 © 2022. All rights reserved.