All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.snowball.model.ClusterMetadata Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Snowball module holds the client classes that are used for communicating with Amazon Snowball.

There is a newer version: 1.12.778
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.snowball.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Contains metadata about a specific cluster. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ClusterMetadata implements Serializable, Cloneable, StructuredPojo { /** *

* The automatically generated ID for a cluster. *

*/ private String clusterId; /** *

* The optional description of the cluster. *

*/ private String description; /** *

* The KmsKeyARN Amazon Resource Name (ARN) associated with this cluster. This ARN was created using * the CreateKey API action in * Key Management Service (KMS. *

*/ private String kmsKeyARN; /** *

* The role ARN associated with this cluster. This ARN was created using the CreateRole API action in * Identity and Access Management (IAM). *

*/ private String roleARN; /** *

* The current status of the cluster. *

*/ private String clusterState; /** *

* The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE. *

*/ private String jobType; /** *

* The type of Snowcone device to use for this cluster. *

* *

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device type. *

*
*/ private String snowballType; /** *

* The creation date for this cluster. *

*/ private java.util.Date creationDate; /** *

* The arrays of JobResource objects that can include updated S3Resource objects or * LambdaResource objects. *

*/ private JobResource resources; /** *

* The automatically generated ID for a specific address. *

*/ private String addressId; /** *

* The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, * rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds * are as follows: *

*
    *
  • *

    * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a * day. *

    *
  • *
  • *

    * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are * delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically * takes less than a week, one way. *

    *
  • *
  • *

    * In India, Snow devices are delivered in one to seven days. *

    *
  • *
  • *

    * In the US, you have access to one-day shipping and two-day shipping. *

    *
  • *
*/ private String shippingOption; /** *

* The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. *

*/ private Notification notification; /** *

* The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This * field is not supported in most regions. *

*/ private String forwardingAddressId; /** *

* The tax documents required in your Amazon Web Services Region. *

*/ private TaxDocuments taxDocuments; /** *

* Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device. *

*/ private OnDeviceServiceConfiguration onDeviceServiceConfiguration; /** *

* The automatically generated ID for a cluster. *

* * @param clusterId * The automatically generated ID for a cluster. */ public void setClusterId(String clusterId) { this.clusterId = clusterId; } /** *

* The automatically generated ID for a cluster. *

* * @return The automatically generated ID for a cluster. */ public String getClusterId() { return this.clusterId; } /** *

* The automatically generated ID for a cluster. *

* * @param clusterId * The automatically generated ID for a cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withClusterId(String clusterId) { setClusterId(clusterId); return this; } /** *

* The optional description of the cluster. *

* * @param description * The optional description of the cluster. */ public void setDescription(String description) { this.description = description; } /** *

* The optional description of the cluster. *

* * @return The optional description of the cluster. */ public String getDescription() { return this.description; } /** *

* The optional description of the cluster. *

* * @param description * The optional description of the cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withDescription(String description) { setDescription(description); return this; } /** *

* The KmsKeyARN Amazon Resource Name (ARN) associated with this cluster. This ARN was created using * the CreateKey API action in * Key Management Service (KMS. *

* * @param kmsKeyARN * The KmsKeyARN Amazon Resource Name (ARN) associated with this cluster. This ARN was created * using the CreateKey * API action in Key Management Service (KMS. */ public void setKmsKeyARN(String kmsKeyARN) { this.kmsKeyARN = kmsKeyARN; } /** *

* The KmsKeyARN Amazon Resource Name (ARN) associated with this cluster. This ARN was created using * the CreateKey API action in * Key Management Service (KMS. *

* * @return The KmsKeyARN Amazon Resource Name (ARN) associated with this cluster. This ARN was created * using the CreateKey * API action in Key Management Service (KMS. */ public String getKmsKeyARN() { return this.kmsKeyARN; } /** *

* The KmsKeyARN Amazon Resource Name (ARN) associated with this cluster. This ARN was created using * the CreateKey API action in * Key Management Service (KMS. *

* * @param kmsKeyARN * The KmsKeyARN Amazon Resource Name (ARN) associated with this cluster. This ARN was created * using the CreateKey * API action in Key Management Service (KMS. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withKmsKeyARN(String kmsKeyARN) { setKmsKeyARN(kmsKeyARN); return this; } /** *

* The role ARN associated with this cluster. This ARN was created using the CreateRole API action in * Identity and Access Management (IAM). *

* * @param roleARN * The role ARN associated with this cluster. This ARN was created using the CreateRole API action * in Identity and Access Management (IAM). */ public void setRoleARN(String roleARN) { this.roleARN = roleARN; } /** *

* The role ARN associated with this cluster. This ARN was created using the CreateRole API action in * Identity and Access Management (IAM). *

* * @return The role ARN associated with this cluster. This ARN was created using the CreateRole API action * in Identity and Access Management (IAM). */ public String getRoleARN() { return this.roleARN; } /** *

* The role ARN associated with this cluster. This ARN was created using the CreateRole API action in * Identity and Access Management (IAM). *

* * @param roleARN * The role ARN associated with this cluster. This ARN was created using the CreateRole API action * in Identity and Access Management (IAM). * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withRoleARN(String roleARN) { setRoleARN(roleARN); return this; } /** *

* The current status of the cluster. *

* * @param clusterState * The current status of the cluster. * @see ClusterState */ public void setClusterState(String clusterState) { this.clusterState = clusterState; } /** *

* The current status of the cluster. *

* * @return The current status of the cluster. * @see ClusterState */ public String getClusterState() { return this.clusterState; } /** *

* The current status of the cluster. *

* * @param clusterState * The current status of the cluster. * @return Returns a reference to this object so that method calls can be chained together. * @see ClusterState */ public ClusterMetadata withClusterState(String clusterState) { setClusterState(clusterState); return this; } /** *

* The current status of the cluster. *

* * @param clusterState * The current status of the cluster. * @see ClusterState */ public void setClusterState(ClusterState clusterState) { withClusterState(clusterState); } /** *

* The current status of the cluster. *

* * @param clusterState * The current status of the cluster. * @return Returns a reference to this object so that method calls can be chained together. * @see ClusterState */ public ClusterMetadata withClusterState(ClusterState clusterState) { this.clusterState = clusterState.toString(); return this; } /** *

* The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE. *

* * @param jobType * The type of job for this cluster. Currently, the only job type supported for clusters is * LOCAL_USE. * @see JobType */ public void setJobType(String jobType) { this.jobType = jobType; } /** *

* The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE. *

* * @return The type of job for this cluster. Currently, the only job type supported for clusters is * LOCAL_USE. * @see JobType */ public String getJobType() { return this.jobType; } /** *

* The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE. *

* * @param jobType * The type of job for this cluster. Currently, the only job type supported for clusters is * LOCAL_USE. * @return Returns a reference to this object so that method calls can be chained together. * @see JobType */ public ClusterMetadata withJobType(String jobType) { setJobType(jobType); return this; } /** *

* The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE. *

* * @param jobType * The type of job for this cluster. Currently, the only job type supported for clusters is * LOCAL_USE. * @see JobType */ public void setJobType(JobType jobType) { withJobType(jobType); } /** *

* The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE. *

* * @param jobType * The type of job for this cluster. Currently, the only job type supported for clusters is * LOCAL_USE. * @return Returns a reference to this object so that method calls can be chained together. * @see JobType */ public ClusterMetadata withJobType(JobType jobType) { this.jobType = jobType.toString(); return this; } /** *

* The type of Snowcone device to use for this cluster. *

* *

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device type. *

*
* * @param snowballType * The type of Snowcone device to use for this cluster.

*

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device * type. *

* @see SnowballType */ public void setSnowballType(String snowballType) { this.snowballType = snowballType; } /** *

* The type of Snowcone device to use for this cluster. *

* *

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device type. *

*
* * @return The type of Snowcone device to use for this cluster.

*

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device * type. *

* @see SnowballType */ public String getSnowballType() { return this.snowballType; } /** *

* The type of Snowcone device to use for this cluster. *

* *

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device type. *

*
* * @param snowballType * The type of Snowcone device to use for this cluster.

*

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device * type. *

* @return Returns a reference to this object so that method calls can be chained together. * @see SnowballType */ public ClusterMetadata withSnowballType(String snowballType) { setSnowballType(snowballType); return this; } /** *

* The type of Snowcone device to use for this cluster. *

* *

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device type. *

*
* * @param snowballType * The type of Snowcone device to use for this cluster.

*

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device * type. *

* @see SnowballType */ public void setSnowballType(SnowballType snowballType) { withSnowballType(snowballType); } /** *

* The type of Snowcone device to use for this cluster. *

* *

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device type. *

*
* * @param snowballType * The type of Snowcone device to use for this cluster.

*

* For cluster jobs, Amazon Web Services Snow Family currently supports only the EDGE device * type. *

* @return Returns a reference to this object so that method calls can be chained together. * @see SnowballType */ public ClusterMetadata withSnowballType(SnowballType snowballType) { this.snowballType = snowballType.toString(); return this; } /** *

* The creation date for this cluster. *

* * @param creationDate * The creation date for this cluster. */ public void setCreationDate(java.util.Date creationDate) { this.creationDate = creationDate; } /** *

* The creation date for this cluster. *

* * @return The creation date for this cluster. */ public java.util.Date getCreationDate() { return this.creationDate; } /** *

* The creation date for this cluster. *

* * @param creationDate * The creation date for this cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withCreationDate(java.util.Date creationDate) { setCreationDate(creationDate); return this; } /** *

* The arrays of JobResource objects that can include updated S3Resource objects or * LambdaResource objects. *

* * @param resources * The arrays of JobResource objects that can include updated S3Resource objects or * LambdaResource objects. */ public void setResources(JobResource resources) { this.resources = resources; } /** *

* The arrays of JobResource objects that can include updated S3Resource objects or * LambdaResource objects. *

* * @return The arrays of JobResource objects that can include updated S3Resource objects or * LambdaResource objects. */ public JobResource getResources() { return this.resources; } /** *

* The arrays of JobResource objects that can include updated S3Resource objects or * LambdaResource objects. *

* * @param resources * The arrays of JobResource objects that can include updated S3Resource objects or * LambdaResource objects. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withResources(JobResource resources) { setResources(resources); return this; } /** *

* The automatically generated ID for a specific address. *

* * @param addressId * The automatically generated ID for a specific address. */ public void setAddressId(String addressId) { this.addressId = addressId; } /** *

* The automatically generated ID for a specific address. *

* * @return The automatically generated ID for a specific address. */ public String getAddressId() { return this.addressId; } /** *

* The automatically generated ID for a specific address. *

* * @param addressId * The automatically generated ID for a specific address. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withAddressId(String addressId) { setAddressId(addressId); return this; } /** *

* The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, * rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds * are as follows: *

*
    *
  • *

    * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a * day. *

    *
  • *
  • *

    * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are * delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically * takes less than a week, one way. *

    *
  • *
  • *

    * In India, Snow devices are delivered in one to seven days. *

    *
  • *
  • *

    * In the US, you have access to one-day shipping and two-day shipping. *

    *
  • *
* * @param shippingOption * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each * device, rather it represents how quickly each device moves to its destination while in transit. Regional * shipping speeds are as follows:

*
    *
  • *

    * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in * about a day. *

    *
  • *
  • *

    * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express * are delivered in about a day. In addition, most countries in the EU have access to standard shipping, * which typically takes less than a week, one way. *

    *
  • *
  • *

    * In India, Snow devices are delivered in one to seven days. *

    *
  • *
  • *

    * In the US, you have access to one-day shipping and two-day shipping. *

    *
  • * @see ShippingOption */ public void setShippingOption(String shippingOption) { this.shippingOption = shippingOption; } /** *

    * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, * rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds * are as follows: *

    *
      *
    • *

      * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a * day. *

      *
    • *
    • *

      * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are * delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically * takes less than a week, one way. *

      *
    • *
    • *

      * In India, Snow devices are delivered in one to seven days. *

      *
    • *
    • *

      * In the US, you have access to one-day shipping and two-day shipping. *

      *
    • *
    * * @return The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each * device, rather it represents how quickly each device moves to its destination while in transit. Regional * shipping speeds are as follows:

    *
      *
    • *

      * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in * about a day. *

      *
    • *
    • *

      * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express * are delivered in about a day. In addition, most countries in the EU have access to standard shipping, * which typically takes less than a week, one way. *

      *
    • *
    • *

      * In India, Snow devices are delivered in one to seven days. *

      *
    • *
    • *

      * In the US, you have access to one-day shipping and two-day shipping. *

      *
    • * @see ShippingOption */ public String getShippingOption() { return this.shippingOption; } /** *

      * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, * rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds * are as follows: *

      *
        *
      • *

        * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a * day. *

        *
      • *
      • *

        * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are * delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically * takes less than a week, one way. *

        *
      • *
      • *

        * In India, Snow devices are delivered in one to seven days. *

        *
      • *
      • *

        * In the US, you have access to one-day shipping and two-day shipping. *

        *
      • *
      * * @param shippingOption * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each * device, rather it represents how quickly each device moves to its destination while in transit. Regional * shipping speeds are as follows:

      *
        *
      • *

        * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in * about a day. *

        *
      • *
      • *

        * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express * are delivered in about a day. In addition, most countries in the EU have access to standard shipping, * which typically takes less than a week, one way. *

        *
      • *
      • *

        * In India, Snow devices are delivered in one to seven days. *

        *
      • *
      • *

        * In the US, you have access to one-day shipping and two-day shipping. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see ShippingOption */ public ClusterMetadata withShippingOption(String shippingOption) { setShippingOption(shippingOption); return this; } /** *

        * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, * rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds * are as follows: *

        *
          *
        • *

          * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a * day. *

          *
        • *
        • *

          * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are * delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically * takes less than a week, one way. *

          *
        • *
        • *

          * In India, Snow devices are delivered in one to seven days. *

          *
        • *
        • *

          * In the US, you have access to one-day shipping and two-day shipping. *

          *
        • *
        * * @param shippingOption * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each * device, rather it represents how quickly each device moves to its destination while in transit. Regional * shipping speeds are as follows:

        *
          *
        • *

          * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in * about a day. *

          *
        • *
        • *

          * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express * are delivered in about a day. In addition, most countries in the EU have access to standard shipping, * which typically takes less than a week, one way. *

          *
        • *
        • *

          * In India, Snow devices are delivered in one to seven days. *

          *
        • *
        • *

          * In the US, you have access to one-day shipping and two-day shipping. *

          *
        • * @see ShippingOption */ public void setShippingOption(ShippingOption shippingOption) { withShippingOption(shippingOption); } /** *

          * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, * rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds * are as follows: *

          *
            *
          • *

            * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a * day. *

            *
          • *
          • *

            * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express are * delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically * takes less than a week, one way. *

            *
          • *
          • *

            * In India, Snow devices are delivered in one to seven days. *

            *
          • *
          • *

            * In the US, you have access to one-day shipping and two-day shipping. *

            *
          • *
          * * @param shippingOption * The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each * device, rather it represents how quickly each device moves to its destination while in transit. Regional * shipping speeds are as follows:

          *
            *
          • *

            * In Australia, you have access to express shipping. Typically, devices shipped express are delivered in * about a day. *

            *
          • *
          • *

            * In the European Union (EU), you have access to express shipping. Typically, Snow devices shipped express * are delivered in about a day. In addition, most countries in the EU have access to standard shipping, * which typically takes less than a week, one way. *

            *
          • *
          • *

            * In India, Snow devices are delivered in one to seven days. *

            *
          • *
          • *

            * In the US, you have access to one-day shipping and two-day shipping. *

            *
          • * @return Returns a reference to this object so that method calls can be chained together. * @see ShippingOption */ public ClusterMetadata withShippingOption(ShippingOption shippingOption) { this.shippingOption = shippingOption.toString(); return this; } /** *

            * The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. *

            * * @param notification * The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. */ public void setNotification(Notification notification) { this.notification = notification; } /** *

            * The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. *

            * * @return The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. */ public Notification getNotification() { return this.notification; } /** *

            * The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. *

            * * @param notification * The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withNotification(Notification notification) { setNotification(notification); return this; } /** *

            * The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This * field is not supported in most regions. *

            * * @param forwardingAddressId * The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. * This field is not supported in most regions. */ public void setForwardingAddressId(String forwardingAddressId) { this.forwardingAddressId = forwardingAddressId; } /** *

            * The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This * field is not supported in most regions. *

            * * @return The ID of the address that you want a cluster shipped to, after it will be shipped to its primary * address. This field is not supported in most regions. */ public String getForwardingAddressId() { return this.forwardingAddressId; } /** *

            * The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This * field is not supported in most regions. *

            * * @param forwardingAddressId * The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. * This field is not supported in most regions. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withForwardingAddressId(String forwardingAddressId) { setForwardingAddressId(forwardingAddressId); return this; } /** *

            * The tax documents required in your Amazon Web Services Region. *

            * * @param taxDocuments * The tax documents required in your Amazon Web Services Region. */ public void setTaxDocuments(TaxDocuments taxDocuments) { this.taxDocuments = taxDocuments; } /** *

            * The tax documents required in your Amazon Web Services Region. *

            * * @return The tax documents required in your Amazon Web Services Region. */ public TaxDocuments getTaxDocuments() { return this.taxDocuments; } /** *

            * The tax documents required in your Amazon Web Services Region. *

            * * @param taxDocuments * The tax documents required in your Amazon Web Services Region. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withTaxDocuments(TaxDocuments taxDocuments) { setTaxDocuments(taxDocuments); return this; } /** *

            * Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device. *

            * * @param onDeviceServiceConfiguration * Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device. */ public void setOnDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration) { this.onDeviceServiceConfiguration = onDeviceServiceConfiguration; } /** *

            * Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device. *

            * * @return Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device. */ public OnDeviceServiceConfiguration getOnDeviceServiceConfiguration() { return this.onDeviceServiceConfiguration; } /** *

            * Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device. *

            * * @param onDeviceServiceConfiguration * Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device. * @return Returns a reference to this object so that method calls can be chained together. */ public ClusterMetadata withOnDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration) { setOnDeviceServiceConfiguration(onDeviceServiceConfiguration); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getClusterId() != null) sb.append("ClusterId: ").append(getClusterId()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getKmsKeyARN() != null) sb.append("KmsKeyARN: ").append(getKmsKeyARN()).append(","); if (getRoleARN() != null) sb.append("RoleARN: ").append(getRoleARN()).append(","); if (getClusterState() != null) sb.append("ClusterState: ").append(getClusterState()).append(","); if (getJobType() != null) sb.append("JobType: ").append(getJobType()).append(","); if (getSnowballType() != null) sb.append("SnowballType: ").append(getSnowballType()).append(","); if (getCreationDate() != null) sb.append("CreationDate: ").append(getCreationDate()).append(","); if (getResources() != null) sb.append("Resources: ").append(getResources()).append(","); if (getAddressId() != null) sb.append("AddressId: ").append(getAddressId()).append(","); if (getShippingOption() != null) sb.append("ShippingOption: ").append(getShippingOption()).append(","); if (getNotification() != null) sb.append("Notification: ").append(getNotification()).append(","); if (getForwardingAddressId() != null) sb.append("ForwardingAddressId: ").append(getForwardingAddressId()).append(","); if (getTaxDocuments() != null) sb.append("TaxDocuments: ").append(getTaxDocuments()).append(","); if (getOnDeviceServiceConfiguration() != null) sb.append("OnDeviceServiceConfiguration: ").append(getOnDeviceServiceConfiguration()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ClusterMetadata == false) return false; ClusterMetadata other = (ClusterMetadata) obj; if (other.getClusterId() == null ^ this.getClusterId() == null) return false; if (other.getClusterId() != null && other.getClusterId().equals(this.getClusterId()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getKmsKeyARN() == null ^ this.getKmsKeyARN() == null) return false; if (other.getKmsKeyARN() != null && other.getKmsKeyARN().equals(this.getKmsKeyARN()) == false) return false; if (other.getRoleARN() == null ^ this.getRoleARN() == null) return false; if (other.getRoleARN() != null && other.getRoleARN().equals(this.getRoleARN()) == false) return false; if (other.getClusterState() == null ^ this.getClusterState() == null) return false; if (other.getClusterState() != null && other.getClusterState().equals(this.getClusterState()) == false) return false; if (other.getJobType() == null ^ this.getJobType() == null) return false; if (other.getJobType() != null && other.getJobType().equals(this.getJobType()) == false) return false; if (other.getSnowballType() == null ^ this.getSnowballType() == null) return false; if (other.getSnowballType() != null && other.getSnowballType().equals(this.getSnowballType()) == false) return false; if (other.getCreationDate() == null ^ this.getCreationDate() == null) return false; if (other.getCreationDate() != null && other.getCreationDate().equals(this.getCreationDate()) == false) return false; if (other.getResources() == null ^ this.getResources() == null) return false; if (other.getResources() != null && other.getResources().equals(this.getResources()) == false) return false; if (other.getAddressId() == null ^ this.getAddressId() == null) return false; if (other.getAddressId() != null && other.getAddressId().equals(this.getAddressId()) == false) return false; if (other.getShippingOption() == null ^ this.getShippingOption() == null) return false; if (other.getShippingOption() != null && other.getShippingOption().equals(this.getShippingOption()) == false) return false; if (other.getNotification() == null ^ this.getNotification() == null) return false; if (other.getNotification() != null && other.getNotification().equals(this.getNotification()) == false) return false; if (other.getForwardingAddressId() == null ^ this.getForwardingAddressId() == null) return false; if (other.getForwardingAddressId() != null && other.getForwardingAddressId().equals(this.getForwardingAddressId()) == false) return false; if (other.getTaxDocuments() == null ^ this.getTaxDocuments() == null) return false; if (other.getTaxDocuments() != null && other.getTaxDocuments().equals(this.getTaxDocuments()) == false) return false; if (other.getOnDeviceServiceConfiguration() == null ^ this.getOnDeviceServiceConfiguration() == null) return false; if (other.getOnDeviceServiceConfiguration() != null && other.getOnDeviceServiceConfiguration().equals(this.getOnDeviceServiceConfiguration()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getClusterId() == null) ? 0 : getClusterId().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getKmsKeyARN() == null) ? 0 : getKmsKeyARN().hashCode()); hashCode = prime * hashCode + ((getRoleARN() == null) ? 0 : getRoleARN().hashCode()); hashCode = prime * hashCode + ((getClusterState() == null) ? 0 : getClusterState().hashCode()); hashCode = prime * hashCode + ((getJobType() == null) ? 0 : getJobType().hashCode()); hashCode = prime * hashCode + ((getSnowballType() == null) ? 0 : getSnowballType().hashCode()); hashCode = prime * hashCode + ((getCreationDate() == null) ? 0 : getCreationDate().hashCode()); hashCode = prime * hashCode + ((getResources() == null) ? 0 : getResources().hashCode()); hashCode = prime * hashCode + ((getAddressId() == null) ? 0 : getAddressId().hashCode()); hashCode = prime * hashCode + ((getShippingOption() == null) ? 0 : getShippingOption().hashCode()); hashCode = prime * hashCode + ((getNotification() == null) ? 0 : getNotification().hashCode()); hashCode = prime * hashCode + ((getForwardingAddressId() == null) ? 0 : getForwardingAddressId().hashCode()); hashCode = prime * hashCode + ((getTaxDocuments() == null) ? 0 : getTaxDocuments().hashCode()); hashCode = prime * hashCode + ((getOnDeviceServiceConfiguration() == null) ? 0 : getOnDeviceServiceConfiguration().hashCode()); return hashCode; } @Override public ClusterMetadata clone() { try { return (ClusterMetadata) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.snowball.model.transform.ClusterMetadataMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy