Cloneable, ReadLimitInfo, ToCopyableBuilder<CreateConstraintRequest.Builder,CreateConstraintRequest>@Generated("software.amazon.awssdk:codegen") public class CreateConstraintRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateConstraintRequest.Builder,CreateConstraintRequest>
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
CreateConstraintRequest.Builder |
NOOP| Modifier and Type | Method | Description |
|---|---|---|
String |
acceptLanguage() |
The language code to use for this operation.
|
static CreateConstraintRequest.Builder |
builder() |
|
String |
description() |
The text description of the constraint.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
idempotencyToken() |
A token to disambiguate duplicate requests.
|
String |
parameters() |
The constraint parameters.
|
String |
portfolioId() |
The portfolio identifier.
|
String |
productId() |
The product identifier.
|
static Class<? extends CreateConstraintRequest.Builder> |
serializableBuilderClass() |
|
CreateConstraintRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The type of the constraint.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeoutpublic String acceptLanguage()
The language code to use for this operation. Supported language codes are as follows:
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
"en" (English)
"jp" (Japanese)
"zh" (Chinese)
If no code is specified, "en" is used as the default.
public String portfolioId()
The portfolio identifier.
public String productId()
The product identifier.
public String parameters()
The constraint parameters. Expected values vary depending on which Type is specified. For examples, see the bottom of this topic.
For Type LAUNCH, the RoleArn property is required.
For Type NOTIFICATION, the NotificationArns property is required.
For Type TEMPLATE, the Rules property is required.
For Type LAUNCH, the RoleArn property is required.
For Type NOTIFICATION, the NotificationArns property is required.
For Type TEMPLATE, the Rules property is required.
public String type()
The type of the constraint. Case-sensitive valid values are: LAUNCH, NOTIFICATION, or
TEMPLATE.
LAUNCH,
NOTIFICATION, or TEMPLATE.public String description()
The text description of the constraint.
public String idempotencyToken()
A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.
public CreateConstraintRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CreateConstraintRequest.Builder,CreateConstraintRequest>public static CreateConstraintRequest.Builder builder()
public static Class<? extends CreateConstraintRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.