pl.wrzasq.lambda.cform.account.model.AccountRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lambda-cform-account Show documentation
Show all versions of lambda-cform-account Show documentation
Account resource handler for CloudFormation.
// Generated by delombok at Tue Oct 15 07:06:33 UTC 2019
/*
* This file is part of the pl.wrzasq.lambda.
*
* @license http://mit-license.org/ The MIT license
* @copyright 2019 © by Rafał Wrzeszcz - Wrzasq.pl.
*/
package pl.wrzasq.lambda.cform.account.model;
/**
* Account CloudFormation request.
*/
public class AccountRequest {
/**
* Existing account ID to invite into organization.
*/
private String accountId;
/**
* E-mail address for which to create an account.
*/
private String email;
/**
* Name to label the account.
*/
private String accountName;
/**
* Role name for the administration purposes.
*/
private String administratorRoleName;
/**
* Organizational Unit ID in which to place an account.
*/
private String ouId;
@SuppressWarnings("all")
@lombok.Generated
public AccountRequest() {
}
/**
* Existing account ID to invite into organization.
*/
@SuppressWarnings("all")
@lombok.Generated
public String getAccountId() {
return this.accountId;
}
/**
* E-mail address for which to create an account.
*/
@SuppressWarnings("all")
@lombok.Generated
public String getEmail() {
return this.email;
}
/**
* Name to label the account.
*/
@SuppressWarnings("all")
@lombok.Generated
public String getAccountName() {
return this.accountName;
}
/**
* Role name for the administration purposes.
*/
@SuppressWarnings("all")
@lombok.Generated
public String getAdministratorRoleName() {
return this.administratorRoleName;
}
/**
* Organizational Unit ID in which to place an account.
*/
@SuppressWarnings("all")
@lombok.Generated
public String getOuId() {
return this.ouId;
}
/**
* Existing account ID to invite into organization.
*/
@SuppressWarnings("all")
@lombok.Generated
public void setAccountId(final String accountId) {
this.accountId = accountId;
}
/**
* E-mail address for which to create an account.
*/
@SuppressWarnings("all")
@lombok.Generated
public void setEmail(final String email) {
this.email = email;
}
/**
* Name to label the account.
*/
@SuppressWarnings("all")
@lombok.Generated
public void setAccountName(final String accountName) {
this.accountName = accountName;
}
/**
* Role name for the administration purposes.
*/
@SuppressWarnings("all")
@lombok.Generated
public void setAdministratorRoleName(final String administratorRoleName) {
this.administratorRoleName = administratorRoleName;
}
/**
* Organizational Unit ID in which to place an account.
*/
@SuppressWarnings("all")
@lombok.Generated
public void setOuId(final String ouId) {
this.ouId = ouId;
}
@Override
@SuppressWarnings("all")
@lombok.Generated
public boolean equals(final Object o) {
if (o == this) return true;
if (!(o instanceof AccountRequest)) return false;
final AccountRequest other = (AccountRequest) o;
if (!other.canEqual((Object) this)) return false;
final Object this$accountId = this.getAccountId();
final Object other$accountId = other.getAccountId();
if (this$accountId == null ? other$accountId != null : !this$accountId.equals(other$accountId)) return false;
final Object this$email = this.getEmail();
final Object other$email = other.getEmail();
if (this$email == null ? other$email != null : !this$email.equals(other$email)) return false;
final Object this$accountName = this.getAccountName();
final Object other$accountName = other.getAccountName();
if (this$accountName == null ? other$accountName != null : !this$accountName.equals(other$accountName)) return false;
final Object this$administratorRoleName = this.getAdministratorRoleName();
final Object other$administratorRoleName = other.getAdministratorRoleName();
if (this$administratorRoleName == null ? other$administratorRoleName != null : !this$administratorRoleName.equals(other$administratorRoleName)) return false;
final Object this$ouId = this.getOuId();
final Object other$ouId = other.getOuId();
if (this$ouId == null ? other$ouId != null : !this$ouId.equals(other$ouId)) return false;
return true;
}
@SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final Object other) {
return other instanceof AccountRequest;
}
@Override
@SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final Object $accountId = this.getAccountId();
result = result * PRIME + ($accountId == null ? 43 : $accountId.hashCode());
final Object $email = this.getEmail();
result = result * PRIME + ($email == null ? 43 : $email.hashCode());
final Object $accountName = this.getAccountName();
result = result * PRIME + ($accountName == null ? 43 : $accountName.hashCode());
final Object $administratorRoleName = this.getAdministratorRoleName();
result = result * PRIME + ($administratorRoleName == null ? 43 : $administratorRoleName.hashCode());
final Object $ouId = this.getOuId();
result = result * PRIME + ($ouId == null ? 43 : $ouId.hashCode());
return result;
}
@Override
@SuppressWarnings("all")
@lombok.Generated
public String toString() {
return "AccountRequest(accountId=" + this.getAccountId() + ", email=" + this.getEmail() + ", accountName=" + this.getAccountName() + ", administratorRoleName=" + this.getAdministratorRoleName() + ", ouId=" + this.getOuId() + ")";
}
}