Class SSMValidationParameters

    • Method Detail

      • source

        public final Source source()

        The location of the validation script.

        Returns:
        The location of the validation script.
      • instanceId

        public final String instanceId()

        The ID of the instance. The instance must have the following tag: UserForSMSApplicationValidation=true.

        Returns:
        The ID of the instance. The instance must have the following tag: UserForSMSApplicationValidation=true.
      • scriptType

        public final ScriptType scriptType()

        The type of validation script.

        If the service returns an enum value that is not available in the current SDK version, scriptType will return ScriptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scriptTypeAsString().

        Returns:
        The type of validation script.
        See Also:
        ScriptType
      • scriptTypeAsString

        public final String scriptTypeAsString()

        The type of validation script.

        If the service returns an enum value that is not available in the current SDK version, scriptType will return ScriptType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from scriptTypeAsString().

        Returns:
        The type of validation script.
        See Also:
        ScriptType
      • command

        public final String command()

        The command to run the validation script.

        Returns:
        The command to run the validation script.
      • executionTimeoutSeconds

        public final Integer executionTimeoutSeconds()

        The timeout interval, in seconds.

        Returns:
        The timeout interval, in seconds.
      • outputS3BucketName

        public final String outputS3BucketName()

        The name of the S3 bucket for output.

        Returns:
        The name of the S3 bucket for output.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)