public static interface CreateConstraintRequest.Builder extends ServiceCatalogRequest.Builder, CopyableBuilder<CreateConstraintRequest.Builder,CreateConstraintRequest>
build
overrideConfiguration
copy
applyMutation, build
CreateConstraintRequest.Builder acceptLanguage(String acceptLanguage)
The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
acceptLanguage
- The language code.
en
- English (default)
jp
- Japanese
zh
- Chinese
CreateConstraintRequest.Builder portfolioId(String portfolioId)
The portfolio identifier.
portfolioId
- The portfolio identifier.CreateConstraintRequest.Builder productId(String productId)
The product identifier.
productId
- The product identifier.CreateConstraintRequest.Builder parameters(String parameters)
The constraint parameters. Expected values vary depending on which Type is specified. For more information, see the Examples section.
For Type LAUNCH
, the RoleArn
property is required.
For Type NOTIFICATION
, the NotificationArns
property is required.
For Type TEMPLATE
, the Rules
property is required.
parameters
- The constraint parameters. Expected values vary depending on which Type is specified. For more
information, see the Examples section.
For Type LAUNCH
, the RoleArn
property is required.
For Type NOTIFICATION
, the NotificationArns
property is required.
For Type TEMPLATE
, the Rules
property is required.
CreateConstraintRequest.Builder type(String type)
The type of the constraint. Case-sensitive valid values are: LAUNCH
, NOTIFICATION
,
or TEMPLATE
.
type
- The type of the constraint. Case-sensitive valid values are: LAUNCH
,
NOTIFICATION
, or TEMPLATE
.CreateConstraintRequest.Builder description(String description)
The text description of the constraint.
description
- The text description of the constraint.CreateConstraintRequest.Builder idempotencyToken(String idempotencyToken)
A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.
idempotencyToken
- A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided
that you also specify a different idempotency token for each request.CreateConstraintRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateConstraintRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.