Class ConstraintDetail
- java.lang.Object
-
- software.amazon.awssdk.services.servicecatalog.model.ConstraintDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConstraintDetail.Builder,ConstraintDetail>
@Generated("software.amazon.awssdk:codegen") public final class ConstraintDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConstraintDetail.Builder,ConstraintDetail>
Information about a constraint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConstraintDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConstraintDetail.Builderbuilder()StringconstraintId()The identifier of the constraint.Stringdescription()The description of the constraint.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringowner()The owner of the constraint.StringportfolioId()The identifier of the portfolio the product resides in.StringproductId()The identifier of the product the constraint applies to.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ConstraintDetail.Builder>serializableBuilderClass()ConstraintDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of constraint.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
constraintId
public final String constraintId()
The identifier of the constraint.
- Returns:
- The identifier of the constraint.
-
type
public final String type()
The type of constraint.
-
LAUNCH -
NOTIFICATION -
STACKSET
-
TEMPLATE
- Returns:
- The type of constraint.
-
LAUNCH -
NOTIFICATION -
STACKSET
-
TEMPLATE
-
-
-
description
public final String description()
The description of the constraint.
- Returns:
- The description of the constraint.
-
owner
public final String owner()
The owner of the constraint.
- Returns:
- The owner of the constraint.
-
productId
public final String productId()
The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.
- Returns:
- The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.
-
portfolioId
public final String portfolioId()
The identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.
- Returns:
- The identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.
-
toBuilder
public ConstraintDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConstraintDetail.Builder,ConstraintDetail>
-
builder
public static ConstraintDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConstraintDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-