Interface MatchingRuleStatement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MatchingRuleStatement.Builder,,MatchingRuleStatement> SdkBuilder<MatchingRuleStatement.Builder,,MatchingRuleStatement> SdkPojo
- Enclosing class:
MatchingRuleStatement
-
Method Summary
Modifier and TypeMethodDescriptionconstraint(String constraint) Constraint.keyToMatch(String keyToMatch) Key to match.valueToMatch(String... valueToMatch) Value to match.valueToMatch(Collection<String> valueToMatch) Value to match.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
keyToMatch
Key to match.
The following keys and are supported when the RuleStatement type is
Instance:-
Platform- The name of the platform. Logical operators areEQUALSandNOT_EQUALS. -
EC2BillingProduct- The billing product code. Logical operators areEQUALSandNOT_EQUALS. Possible values are:windows-server-enterprise|windows-byol|rhel|rhel-byol|rhel-high-availability|ubuntu-pro|suse-linux|sql-server-standard|sql-server-enterprise. -
MarketPlaceProductCode- The Marketplace product code. Logical operators areEQUALSandNOT_EQUALS. -
AMIId- The ID of the AMI. Logical operators areEQUALSandNOT_EQUALS. -
InstanceType- The instance type. Logical operators areEQUALSandNOT_EQUALS. -
InstanceId- The ID of the instance. Logical operators areEQUALSandNOT_EQUALS. -
HostId- The ID of the host. Logical operators areEQUALSandNOT_EQUALS. -
AccountId- The ID of the account. Logical operators areEQUALSandNOT_EQUALS.
The following keys and are supported when the RuleStatement type is
License:-
LicenseArn- The ARN of a Managed Entitlement License. Logical operators areEQUALSandNOT_EQUALS. -
ProductSKU- The productSKU of the license. Logical operators areEQUALSandNOT_EQUALS. -
Issuer- The issuer of the license. Logical operators areEQUALSandNOT_EQUALS. -
Beneficiary- The beneficiary of the license. Logical operators areEQUALSandNOT_EQUALS. -
LicenseStatus- The status of the license. Logical operators areEQUALSandNOT_EQUALS. -
HomeRegion- The home region of the license. Logical operators areEQUALSandNOT_EQUALS.
The following keys and are supported when the RuleStatement type is
License Configuration:-
LicenseConfigurationArn- The ARN of a self-managed license configuration. Logical operators areEQUALSandNOT_EQUALS. -
AccountId- The account of the license configuration. Logical operators areEQUALSandNOT_EQUALS.
- Parameters:
keyToMatch- Key to match.The following keys and are supported when the RuleStatement type is
Instance:-
Platform- The name of the platform. Logical operators areEQUALSandNOT_EQUALS. -
EC2BillingProduct- The billing product code. Logical operators areEQUALSandNOT_EQUALS. Possible values are:windows-server-enterprise|windows-byol|rhel|rhel-byol|rhel-high-availability|ubuntu-pro|suse-linux|sql-server-standard|sql-server-enterprise. -
MarketPlaceProductCode- The Marketplace product code. Logical operators areEQUALSandNOT_EQUALS. -
AMIId- The ID of the AMI. Logical operators areEQUALSandNOT_EQUALS. -
InstanceType- The instance type. Logical operators areEQUALSandNOT_EQUALS. -
InstanceId- The ID of the instance. Logical operators areEQUALSandNOT_EQUALS. -
HostId- The ID of the host. Logical operators areEQUALSandNOT_EQUALS. -
AccountId- The ID of the account. Logical operators areEQUALSandNOT_EQUALS.
The following keys and are supported when the RuleStatement type is
License:-
LicenseArn- The ARN of a Managed Entitlement License. Logical operators areEQUALSandNOT_EQUALS. -
ProductSKU- The productSKU of the license. Logical operators areEQUALSandNOT_EQUALS. -
Issuer- The issuer of the license. Logical operators areEQUALSandNOT_EQUALS. -
Beneficiary- The beneficiary of the license. Logical operators areEQUALSandNOT_EQUALS. -
LicenseStatus- The status of the license. Logical operators areEQUALSandNOT_EQUALS. -
HomeRegion- The home region of the license. Logical operators areEQUALSandNOT_EQUALS.
The following keys and are supported when the RuleStatement type is
License Configuration:-
LicenseConfigurationArn- The ARN of a self-managed license configuration. Logical operators areEQUALSandNOT_EQUALS. -
AccountId- The account of the license configuration. Logical operators areEQUALSandNOT_EQUALS.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
constraint
Constraint.
- Parameters:
constraint- Constraint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueToMatch
Value to match.
- Parameters:
valueToMatch- Value to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueToMatch
Value to match.
- Parameters:
valueToMatch- Value to match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-