com.amazonaws.services.identitymanagement.model

## クラス UpdateGroupRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.identitymanagement.model.UpdateGroupRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class UpdateGroupRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `UpdateGroup operation`.

  Updates the name and/or the path of the specified group.

  IMPORTANT: You should understand the implications of changing a group's path or name. For more information, see Renaming Users and Groups in Using AWS Identity and Access Management.

  NOTE:To change a group name the requester must have appropriate permissions on both the source object and the target object. For example, to change Managers to MGRs, the entity making the request must have permission on Managers and MGRs, or must have permission on all (*). For more information about permissions, see Permissions and Policies.

  関連項目:
    `AmazonIdentityManagement.updateGroup(UpdateGroupRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `UpdateGroupRequest()` Default constructor for a new UpdateGroupRequest object.
    `UpdateGroupRequest(java.lang.String groupName)` Constructs a new UpdateGroupRequest object.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getGroupName()` Name of the group to update.
    `java.lang.String` | `getNewGroupName()` New name for the group.
    `java.lang.String` | `getNewPath()` New path for the group.
    `int` | `hashCode()`
    `void` | `setGroupName(java.lang.String groupName)` Name of the group to update.
    `void` | `setNewGroupName(java.lang.String newGroupName)` New name for the group.
    `void` | `setNewPath(java.lang.String newPath)` New path for the group.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `UpdateGroupRequest` | `withGroupName(java.lang.String groupName)` Name of the group to update.
    `UpdateGroupRequest` | `withNewGroupName(java.lang.String newGroupName)` New name for the group.
    `UpdateGroupRequest` | `withNewPath(java.lang.String newPath)` New path for the group.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### UpdateGroupRequest

          public UpdateGroupRequest()

      Default constructor for a new UpdateGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

    - #### UpdateGroupRequest

          public UpdateGroupRequest(java.lang.String groupName)

      Constructs a new UpdateGroupRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      パラメータ:
        `groupName` - Name of the group to update. If you're changing the name of the group, this is the original name.

  - ### メソッドの詳細

    - #### getGroupName

          public java.lang.String getGroupName()

      Name of the group to update. If you're changing the name of the group, this is the original name.

      Constraints:
      Length: 1 - 128
      Pattern: [\w+=,.@-]*

      戻り値:
        Name of the group to update. If you're changing the name of the group, this is the original name.

    - #### setGroupName

          public void setGroupName(java.lang.String groupName)

      Name of the group to update. If you're changing the name of the group, this is the original name.

      Constraints:
      Length: 1 - 128
      Pattern: [\w+=,.@-]*

      パラメータ:
        `groupName` - Name of the group to update. If you're changing the name of the group, this is the original name.

    - #### withGroupName

          public UpdateGroupRequest withGroupName(java.lang.String groupName)

      Name of the group to update. If you're changing the name of the group, this is the original name.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 128
      Pattern: [\w+=,.@-]*

      パラメータ:
        `groupName` - Name of the group to update. If you're changing the name of the group, this is the original name.

    - #### getNewPath

          public java.lang.String getNewPath()

      New path for the group. Only include this if changing the group's path.

      Constraints:
      Length: 1 - 512
      Pattern: (/)|(/[!-]+/)

      戻り値:
        New path for the group. Only include this if changing the group's path.

    - #### setNewPath

          public void setNewPath(java.lang.String newPath)

      New path for the group. Only include this if changing the group's path.

      Constraints:
      Length: 1 - 512
      Pattern: (/)|(/[!-]+/)

      パラメータ:
        `newPath` - New path for the group. Only include this if changing the group's path.

    - #### withNewPath

          public UpdateGroupRequest withNewPath(java.lang.String newPath)

      New path for the group. Only include this if changing the group's path.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 512
      Pattern: (/)|(/[!-]+/)

      パラメータ:
        `newPath` - New path for the group. Only include this if changing the group's path.

    - #### getNewGroupName

          public java.lang.String getNewGroupName()

      New name for the group. Only include this if changing the group's name.

      Constraints:
      Length: 1 - 128
      Pattern: [\w+=,.@-]*

      戻り値:
        New name for the group. Only include this if changing the group's name.

    - #### setNewGroupName

          public void setNewGroupName(java.lang.String newGroupName)

      New name for the group. Only include this if changing the group's name.

      Constraints:
      Length: 1 - 128
      Pattern: [\w+=,.@-]*

      パラメータ:
        `newGroupName` - New name for the group. Only include this if changing the group's name.

    - #### withNewGroupName

          public UpdateGroupRequest withNewGroupName(java.lang.String newGroupName)

      New name for the group. Only include this if changing the group's name.

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 128
      Pattern: [\w+=,.@-]*

      パラメータ:
        `newGroupName` - New name for the group. Only include this if changing the group's name.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`