@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFlowAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFlowAliasRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFlowAliasRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateFlowAliasRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateFlowAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
String |
getDescription()
A description for the alias.
|
String |
getFlowIdentifier()
The unique identifier of the flow for which to create an alias.
|
String |
getName()
A name for the alias.
|
List<FlowAliasRoutingConfigurationListItem> |
getRoutingConfiguration()
Contains information about the version to which to map the alias.
|
Map<String,String> |
getTags()
Any tags that you want to attach to the alias of the flow.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
void |
setDescription(String description)
A description for the alias.
|
void |
setFlowIdentifier(String flowIdentifier)
The unique identifier of the flow for which to create an alias.
|
void |
setName(String name)
A name for the alias.
|
void |
setRoutingConfiguration(Collection<FlowAliasRoutingConfigurationListItem> routingConfiguration)
Contains information about the version to which to map the alias.
|
void |
setTags(Map<String,String> tags)
Any tags that you want to attach to the alias of the flow.
|
String |
toString()
Returns a string representation of this object.
|
CreateFlowAliasRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time.
|
CreateFlowAliasRequest |
withDescription(String description)
A description for the alias.
|
CreateFlowAliasRequest |
withFlowIdentifier(String flowIdentifier)
The unique identifier of the flow for which to create an alias.
|
CreateFlowAliasRequest |
withName(String name)
A name for the alias.
|
CreateFlowAliasRequest |
withRoutingConfiguration(Collection<FlowAliasRoutingConfigurationListItem> routingConfiguration)
Contains information about the version to which to map the alias.
|
CreateFlowAliasRequest |
withRoutingConfiguration(FlowAliasRoutingConfigurationListItem... routingConfiguration)
Contains information about the version to which to map the alias.
|
CreateFlowAliasRequest |
withTags(Map<String,String> tags)
Any tags that you want to attach to the alias of the flow.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public String getClientToken()
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
public CreateFlowAliasRequest withClientToken(String clientToken)
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
clientToken
- A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
For more information, see Ensuring
idempotency.public void setDescription(String description)
A description for the alias.
description
- A description for the alias.public String getDescription()
A description for the alias.
public CreateFlowAliasRequest withDescription(String description)
A description for the alias.
description
- A description for the alias.public void setFlowIdentifier(String flowIdentifier)
The unique identifier of the flow for which to create an alias.
flowIdentifier
- The unique identifier of the flow for which to create an alias.public String getFlowIdentifier()
The unique identifier of the flow for which to create an alias.
public CreateFlowAliasRequest withFlowIdentifier(String flowIdentifier)
The unique identifier of the flow for which to create an alias.
flowIdentifier
- The unique identifier of the flow for which to create an alias.public void setName(String name)
A name for the alias.
name
- A name for the alias.public String getName()
A name for the alias.
public CreateFlowAliasRequest withName(String name)
A name for the alias.
name
- A name for the alias.public List<FlowAliasRoutingConfigurationListItem> getRoutingConfiguration()
Contains information about the version to which to map the alias.
public void setRoutingConfiguration(Collection<FlowAliasRoutingConfigurationListItem> routingConfiguration)
Contains information about the version to which to map the alias.
routingConfiguration
- Contains information about the version to which to map the alias.public CreateFlowAliasRequest withRoutingConfiguration(FlowAliasRoutingConfigurationListItem... routingConfiguration)
Contains information about the version to which to map the alias.
NOTE: This method appends the values to the existing list (if any). Use
setRoutingConfiguration(java.util.Collection)
or withRoutingConfiguration(java.util.Collection)
if you want to override the existing values.
routingConfiguration
- Contains information about the version to which to map the alias.public CreateFlowAliasRequest withRoutingConfiguration(Collection<FlowAliasRoutingConfigurationListItem> routingConfiguration)
Contains information about the version to which to map the alias.
routingConfiguration
- Contains information about the version to which to map the alias.public Map<String,String> getTags()
Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.
public void setTags(Map<String,String> tags)
Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.
tags
- Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon
Bedrock.public CreateFlowAliasRequest withTags(Map<String,String> tags)
Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon Bedrock.
tags
- Any tags that you want to attach to the alias of the flow. For more information, see Tagging resources in Amazon
Bedrock.public CreateFlowAliasRequest addTagsEntry(String key, String value)
public CreateFlowAliasRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateFlowAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()