
io.gs2.identifier.request.AttachSecurityPolicyRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gs2-java-sdk-identifier Show documentation
Show all versions of gs2-java-sdk-identifier Show documentation
Game Server Services GS2-Identifier SDK for Java
The newest version!
/*
* Copyright 2016 Game Server Services, 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://www.apache.org/licenses/LICENSE-2.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 io.gs2.identifier.request;
import org.json.JSONObject;
import java.util.List;
import java.util.Map;
import io.gs2.identifier.model.*;
import io.gs2.control.Gs2BasicRequest;
/**
* 割り当てられたセキュリティポリシーを新しくユーザーに割り当てます のリクエストモデル
*
* @author Game Server Services, Inc.
*/
@SuppressWarnings("serial")
public class AttachSecurityPolicyRequest extends Gs2BasicRequest {
/** ユーザー名 */
private String userName;
/**
* ユーザー名を取得
*
* @return 割り当てられたセキュリティポリシーを新しくユーザーに割り当てます
*/
public String getUserName() {
return userName;
}
/**
* ユーザー名を設定
*
* @param userName 割り当てられたセキュリティポリシーを新しくユーザーに割り当てます
*/
public void setUserName(String userName) {
this.userName = userName;
}
/**
* ユーザー名を設定
*
* @param userName 割り当てられたセキュリティポリシーを新しくユーザーに割り当てます
* @return this
*/
public AttachSecurityPolicyRequest withUserName(String userName) {
setUserName(userName);
return this;
}
/** 割り当てるセキュリティポリシーのGRN */
private String securityPolicyId;
/**
* 割り当てるセキュリティポリシーのGRNを取得
*
* @return 割り当てられたセキュリティポリシーを新しくユーザーに割り当てます
*/
public String getSecurityPolicyId() {
return securityPolicyId;
}
/**
* 割り当てるセキュリティポリシーのGRNを設定
*
* @param securityPolicyId 割り当てられたセキュリティポリシーを新しくユーザーに割り当てます
*/
public void setSecurityPolicyId(String securityPolicyId) {
this.securityPolicyId = securityPolicyId;
}
/**
* 割り当てるセキュリティポリシーのGRNを設定
*
* @param securityPolicyId 割り当てられたセキュリティポリシーを新しくユーザーに割り当てます
* @return this
*/
public AttachSecurityPolicyRequest withSecurityPolicyId(String securityPolicyId) {
setSecurityPolicyId(securityPolicyId);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy