Class ParameterInlinePolicy

java.lang.Object
software.amazon.awssdk.services.ssm.model.ParameterInlinePolicy
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ParameterInlinePolicy.Builder,ParameterInlinePolicy>

@Generated("software.amazon.awssdk:codegen") public final class ParameterInlinePolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ParameterInlinePolicy.Builder,ParameterInlinePolicy>

One or more policies assigned to a parameter.

See Also:
  • Method Details

    • policyText

      public final String policyText()

      The JSON text of the policy.

      Returns:
      The JSON text of the policy.
    • policyType

      public final String policyType()

      The type of policy. Parameter Store, a tool in Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.

      Returns:
      The type of policy. Parameter Store, a tool in Amazon Web Services Systems Manager, supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
    • policyStatus

      public final String policyStatus()

      The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).

      Returns:
      The status of the policy. Policies report the following statuses: Pending (the policy hasn't been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't applied), or InProgress (the policy is being applied now).
    • toBuilder

      public ParameterInlinePolicy.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<ParameterInlinePolicy.Builder,ParameterInlinePolicy>
    • builder

      public static ParameterInlinePolicy.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ParameterInlinePolicy.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo