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

com.amazonaws.services.simplesystemsmanagement.model.UpdateServiceSettingRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Simple Systems Management Service holds the client classes that are used for communicating with the AWS Simple Systems Management Service

The 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.simplesystemsmanagement.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 

* The request body of the UpdateServiceSetting API operation. *

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

* The Amazon Resource Name (ARN) of the service setting to update. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The * setting ID can be one of the following. *

*
    *
  • *

    * /ssm/managed-instance/default-ec2-instance-management-role *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-destination *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-group-name *

    *
  • *
  • *

    * /ssm/documents/console/public-sharing-permission *

    *
  • *
  • *

    * /ssm/managed-instance/activation-tier *

    *
  • *
  • *

    * /ssm/opsinsights/opscenter *

    *
  • *
  • *

    * /ssm/parameter-store/default-parameter-tier *

    *
  • *
  • *

    * /ssm/parameter-store/high-throughput-enabled *

    *
  • *
* *

* Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role setting should * only be provided to administrators. Implement least privilege access when allowing individuals to configure or * modify the Default Host Management Configuration. *

*
*/ private String settingId; /** *

* The new value to specify for the service setting. The following list specifies the available values for each * setting. *

*
    *
  • *

    * For /ssm/managed-instance/default-ec2-instance-management-role, enter the name of an IAM role. *

    *
  • *
  • *

    * For /ssm/automation/customer-script-log-destination, enter CloudWatch. *

    *
  • *
  • *

    * For /ssm/automation/customer-script-log-group-name, enter the name of an Amazon CloudWatch Logs log * group. *

    *
  • *
  • *

    * For /ssm/documents/console/public-sharing-permission, enter Enable or * Disable. *

    *
  • *
  • *

    * For /ssm/managed-instance/activation-tier, enter standard or advanced. *

    *
  • *
  • *

    * For /ssm/opsinsights/opscenter, enter Enabled or Disabled. *

    *
  • *
  • *

    * For /ssm/parameter-store/default-parameter-tier, enter Standard, Advanced, * or Intelligent-Tiering *

    *
  • *
  • *

    * For /ssm/parameter-store/high-throughput-enabled, enter true or false. *

    *
  • *
*/ private String settingValue; /** *

* The Amazon Resource Name (ARN) of the service setting to update. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The * setting ID can be one of the following. *

*
    *
  • *

    * /ssm/managed-instance/default-ec2-instance-management-role *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-destination *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-group-name *

    *
  • *
  • *

    * /ssm/documents/console/public-sharing-permission *

    *
  • *
  • *

    * /ssm/managed-instance/activation-tier *

    *
  • *
  • *

    * /ssm/opsinsights/opscenter *

    *
  • *
  • *

    * /ssm/parameter-store/default-parameter-tier *

    *
  • *
  • *

    * /ssm/parameter-store/high-throughput-enabled *

    *
  • *
* *

* Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role setting should * only be provided to administrators. Implement least privilege access when allowing individuals to configure or * modify the Default Host Management Configuration. *

*
* * @param settingId * The Amazon Resource Name (ARN) of the service setting to update. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled * . The setting ID can be one of the following.

*
    *
  • *

    * /ssm/managed-instance/default-ec2-instance-management-role *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-destination *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-group-name *

    *
  • *
  • *

    * /ssm/documents/console/public-sharing-permission *

    *
  • *
  • *

    * /ssm/managed-instance/activation-tier *

    *
  • *
  • *

    * /ssm/opsinsights/opscenter *

    *
  • *
  • *

    * /ssm/parameter-store/default-parameter-tier *

    *
  • *
  • *

    * /ssm/parameter-store/high-throughput-enabled *

    *
  • *
* *

* Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role setting * should only be provided to administrators. Implement least privilege access when allowing individuals to * configure or modify the Default Host Management Configuration. *

*/ public void setSettingId(String settingId) { this.settingId = settingId; } /** *

* The Amazon Resource Name (ARN) of the service setting to update. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The * setting ID can be one of the following. *

*
    *
  • *

    * /ssm/managed-instance/default-ec2-instance-management-role *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-destination *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-group-name *

    *
  • *
  • *

    * /ssm/documents/console/public-sharing-permission *

    *
  • *
  • *

    * /ssm/managed-instance/activation-tier *

    *
  • *
  • *

    * /ssm/opsinsights/opscenter *

    *
  • *
  • *

    * /ssm/parameter-store/default-parameter-tier *

    *
  • *
  • *

    * /ssm/parameter-store/high-throughput-enabled *

    *
  • *
* *

* Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role setting should * only be provided to administrators. Implement least privilege access when allowing individuals to configure or * modify the Default Host Management Configuration. *

*
* * @return The Amazon Resource Name (ARN) of the service setting to update. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled * . The setting ID can be one of the following.

*
    *
  • *

    * /ssm/managed-instance/default-ec2-instance-management-role *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-destination *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-group-name *

    *
  • *
  • *

    * /ssm/documents/console/public-sharing-permission *

    *
  • *
  • *

    * /ssm/managed-instance/activation-tier *

    *
  • *
  • *

    * /ssm/opsinsights/opscenter *

    *
  • *
  • *

    * /ssm/parameter-store/default-parameter-tier *

    *
  • *
  • *

    * /ssm/parameter-store/high-throughput-enabled *

    *
  • *
* *

* Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role setting * should only be provided to administrators. Implement least privilege access when allowing individuals to * configure or modify the Default Host Management Configuration. *

*/ public String getSettingId() { return this.settingId; } /** *

* The Amazon Resource Name (ARN) of the service setting to update. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. The * setting ID can be one of the following. *

*
    *
  • *

    * /ssm/managed-instance/default-ec2-instance-management-role *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-destination *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-group-name *

    *
  • *
  • *

    * /ssm/documents/console/public-sharing-permission *

    *
  • *
  • *

    * /ssm/managed-instance/activation-tier *

    *
  • *
  • *

    * /ssm/opsinsights/opscenter *

    *
  • *
  • *

    * /ssm/parameter-store/default-parameter-tier *

    *
  • *
  • *

    * /ssm/parameter-store/high-throughput-enabled *

    *
  • *
* *

* Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role setting should * only be provided to administrators. Implement least privilege access when allowing individuals to configure or * modify the Default Host Management Configuration. *

*
* * @param settingId * The Amazon Resource Name (ARN) of the service setting to update. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled * . The setting ID can be one of the following.

*
    *
  • *

    * /ssm/managed-instance/default-ec2-instance-management-role *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-destination *

    *
  • *
  • *

    * /ssm/automation/customer-script-log-group-name *

    *
  • *
  • *

    * /ssm/documents/console/public-sharing-permission *

    *
  • *
  • *

    * /ssm/managed-instance/activation-tier *

    *
  • *
  • *

    * /ssm/opsinsights/opscenter *

    *
  • *
  • *

    * /ssm/parameter-store/default-parameter-tier *

    *
  • *
  • *

    * /ssm/parameter-store/high-throughput-enabled *

    *
  • *
* *

* Permissions to update the /ssm/managed-instance/default-ec2-instance-management-role setting * should only be provided to administrators. Implement least privilege access when allowing individuals to * configure or modify the Default Host Management Configuration. *

* @return Returns a reference to this object so that method calls can be chained together. */ public UpdateServiceSettingRequest withSettingId(String settingId) { setSettingId(settingId); return this; } /** *

* The new value to specify for the service setting. The following list specifies the available values for each * setting. *

*
    *
  • *

    * For /ssm/managed-instance/default-ec2-instance-management-role, enter the name of an IAM role. *

    *
  • *
  • *

    * For /ssm/automation/customer-script-log-destination, enter CloudWatch. *

    *
  • *
  • *

    * For /ssm/automation/customer-script-log-group-name, enter the name of an Amazon CloudWatch Logs log * group. *

    *
  • *
  • *

    * For /ssm/documents/console/public-sharing-permission, enter Enable or * Disable. *

    *
  • *
  • *

    * For /ssm/managed-instance/activation-tier, enter standard or advanced. *

    *
  • *
  • *

    * For /ssm/opsinsights/opscenter, enter Enabled or Disabled. *

    *
  • *
  • *

    * For /ssm/parameter-store/default-parameter-tier, enter Standard, Advanced, * or Intelligent-Tiering *

    *
  • *
  • *

    * For /ssm/parameter-store/high-throughput-enabled, enter true or false. *

    *
  • *
* * @param settingValue * The new value to specify for the service setting. The following list specifies the available values for * each setting.

*
    *
  • *

    * For /ssm/managed-instance/default-ec2-instance-management-role, enter the name of an IAM * role. *

    *
  • *
  • *

    * For /ssm/automation/customer-script-log-destination, enter CloudWatch. *

    *
  • *
  • *

    * For /ssm/automation/customer-script-log-group-name, enter the name of an Amazon CloudWatch * Logs log group. *

    *
  • *
  • *

    * For /ssm/documents/console/public-sharing-permission, enter Enable or * Disable. *

    *
  • *
  • *

    * For /ssm/managed-instance/activation-tier, enter standard or * advanced. *

    *
  • *
  • *

    * For /ssm/opsinsights/opscenter, enter Enabled or Disabled. *

    *
  • *
  • *

    * For /ssm/parameter-store/default-parameter-tier, enter Standard, * Advanced, or Intelligent-Tiering *

    *
  • *
  • *

    * For /ssm/parameter-store/high-throughput-enabled, enter true or * false. *

    *
  • */ public void setSettingValue(String settingValue) { this.settingValue = settingValue; } /** *

    * The new value to specify for the service setting. The following list specifies the available values for each * setting. *

    *
      *
    • *

      * For /ssm/managed-instance/default-ec2-instance-management-role, enter the name of an IAM role. *

      *
    • *
    • *

      * For /ssm/automation/customer-script-log-destination, enter CloudWatch. *

      *
    • *
    • *

      * For /ssm/automation/customer-script-log-group-name, enter the name of an Amazon CloudWatch Logs log * group. *

      *
    • *
    • *

      * For /ssm/documents/console/public-sharing-permission, enter Enable or * Disable. *

      *
    • *
    • *

      * For /ssm/managed-instance/activation-tier, enter standard or advanced. *

      *
    • *
    • *

      * For /ssm/opsinsights/opscenter, enter Enabled or Disabled. *

      *
    • *
    • *

      * For /ssm/parameter-store/default-parameter-tier, enter Standard, Advanced, * or Intelligent-Tiering *

      *
    • *
    • *

      * For /ssm/parameter-store/high-throughput-enabled, enter true or false. *

      *
    • *
    * * @return The new value to specify for the service setting. The following list specifies the available values for * each setting.

    *
      *
    • *

      * For /ssm/managed-instance/default-ec2-instance-management-role, enter the name of an IAM * role. *

      *
    • *
    • *

      * For /ssm/automation/customer-script-log-destination, enter CloudWatch. *

      *
    • *
    • *

      * For /ssm/automation/customer-script-log-group-name, enter the name of an Amazon CloudWatch * Logs log group. *

      *
    • *
    • *

      * For /ssm/documents/console/public-sharing-permission, enter Enable or * Disable. *

      *
    • *
    • *

      * For /ssm/managed-instance/activation-tier, enter standard or * advanced. *

      *
    • *
    • *

      * For /ssm/opsinsights/opscenter, enter Enabled or Disabled. *

      *
    • *
    • *

      * For /ssm/parameter-store/default-parameter-tier, enter Standard, * Advanced, or Intelligent-Tiering *

      *
    • *
    • *

      * For /ssm/parameter-store/high-throughput-enabled, enter true or * false. *

      *
    • */ public String getSettingValue() { return this.settingValue; } /** *

      * The new value to specify for the service setting. The following list specifies the available values for each * setting. *

      *
        *
      • *

        * For /ssm/managed-instance/default-ec2-instance-management-role, enter the name of an IAM role. *

        *
      • *
      • *

        * For /ssm/automation/customer-script-log-destination, enter CloudWatch. *

        *
      • *
      • *

        * For /ssm/automation/customer-script-log-group-name, enter the name of an Amazon CloudWatch Logs log * group. *

        *
      • *
      • *

        * For /ssm/documents/console/public-sharing-permission, enter Enable or * Disable. *

        *
      • *
      • *

        * For /ssm/managed-instance/activation-tier, enter standard or advanced. *

        *
      • *
      • *

        * For /ssm/opsinsights/opscenter, enter Enabled or Disabled. *

        *
      • *
      • *

        * For /ssm/parameter-store/default-parameter-tier, enter Standard, Advanced, * or Intelligent-Tiering *

        *
      • *
      • *

        * For /ssm/parameter-store/high-throughput-enabled, enter true or false. *

        *
      • *
      * * @param settingValue * The new value to specify for the service setting. The following list specifies the available values for * each setting.

      *
        *
      • *

        * For /ssm/managed-instance/default-ec2-instance-management-role, enter the name of an IAM * role. *

        *
      • *
      • *

        * For /ssm/automation/customer-script-log-destination, enter CloudWatch. *

        *
      • *
      • *

        * For /ssm/automation/customer-script-log-group-name, enter the name of an Amazon CloudWatch * Logs log group. *

        *
      • *
      • *

        * For /ssm/documents/console/public-sharing-permission, enter Enable or * Disable. *

        *
      • *
      • *

        * For /ssm/managed-instance/activation-tier, enter standard or * advanced. *

        *
      • *
      • *

        * For /ssm/opsinsights/opscenter, enter Enabled or Disabled. *

        *
      • *
      • *

        * For /ssm/parameter-store/default-parameter-tier, enter Standard, * Advanced, or Intelligent-Tiering *

        *
      • *
      • *

        * For /ssm/parameter-store/high-throughput-enabled, enter true or * false. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateServiceSettingRequest withSettingValue(String settingValue) { setSettingValue(settingValue); 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 (getSettingId() != null) sb.append("SettingId: ").append(getSettingId()).append(","); if (getSettingValue() != null) sb.append("SettingValue: ").append(getSettingValue()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateServiceSettingRequest == false) return false; UpdateServiceSettingRequest other = (UpdateServiceSettingRequest) obj; if (other.getSettingId() == null ^ this.getSettingId() == null) return false; if (other.getSettingId() != null && other.getSettingId().equals(this.getSettingId()) == false) return false; if (other.getSettingValue() == null ^ this.getSettingValue() == null) return false; if (other.getSettingValue() != null && other.getSettingValue().equals(this.getSettingValue()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getSettingId() == null) ? 0 : getSettingId().hashCode()); hashCode = prime * hashCode + ((getSettingValue() == null) ? 0 : getSettingValue().hashCode()); return hashCode; } @Override public UpdateServiceSettingRequest clone() { return (UpdateServiceSettingRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy