Class ServerReplicationParameters

    • Method Detail

      • seedTime

        public final Instant seedTime()

        The seed time for creating a replication job for the server.

        Returns:
        The seed time for creating a replication job for the server.
      • frequency

        public final Integer frequency()

        The frequency of creating replication jobs for the server.

        Returns:
        The frequency of creating replication jobs for the server.
      • runOnce

        public final Boolean runOnce()

        Indicates whether to run the replication job one time.

        Returns:
        Indicates whether to run the replication job one time.
      • licenseType

        public final LicenseType licenseType()

        The license type for creating a replication job for the server.

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

        Returns:
        The license type for creating a replication job for the server.
        See Also:
        LicenseType
      • licenseTypeAsString

        public final String licenseTypeAsString()

        The license type for creating a replication job for the server.

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

        Returns:
        The license type for creating a replication job for the server.
        See Also:
        LicenseType
      • numberOfRecentAmisToKeep

        public final Integer numberOfRecentAmisToKeep()

        The number of recent AMIs to keep when creating a replication job for this server.

        Returns:
        The number of recent AMIs to keep when creating a replication job for this server.
      • encrypted

        public final Boolean encrypted()

        Indicates whether the replication job produces encrypted AMIs.

        Returns:
        Indicates whether the replication job produces encrypted AMIs.
      • kmsKeyId

        public final String kmsKeyId()

        The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:

        • KMS key ID

        • KMS key alias

        • ARN referring to the KMS key ID

        • ARN referring to the KMS key alias

        If encrypted is enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.

        Returns:
        The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:

        • KMS key ID

        • KMS key alias

        • ARN referring to the KMS key ID

        • ARN referring to the KMS key alias

        If encrypted is enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.

      • 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)