
pl.wrzasq.commons.aws.cloudformation.macro.CloudFormationMacroRequest Maven / Gradle / Ivy
// Generated by delombok at Tue Apr 06 13:14:34 UTC 2021
/*
* This file is part of the pl.wrzasq.commons.
*
* @license http://mit-license.org/ The MIT license
* @copyright 2020 © by Rafał Wrzeszcz - Wrzasq.pl.
*/
package pl.wrzasq.commons.aws.cloudformation.macro;
import java.util.Map;
/**
* CloudFormation event request structure.
*/
public class CloudFormationMacroRequest {
/**
* Request ID.
*/
private String requestId;
/**
* Template fragment.
*/
private Map fragment;
@SuppressWarnings("all")
@lombok.Generated
public CloudFormationMacroRequest() {
}
@SuppressWarnings("all")
@lombok.Generated
public CloudFormationMacroRequest(final String requestId, final Map fragment) {
this.requestId = requestId;
this.fragment = fragment;
}
/**
* Request ID.
*/
@SuppressWarnings("all")
@lombok.Generated
public String getRequestId() {
return this.requestId;
}
/**
* Template fragment.
*/
@SuppressWarnings("all")
@lombok.Generated
public Map getFragment() {
return this.fragment;
}
/**
* Request ID.
*/
@SuppressWarnings("all")
@lombok.Generated
public void setRequestId(final String requestId) {
this.requestId = requestId;
}
/**
* Template fragment.
*/
@SuppressWarnings("all")
@lombok.Generated
public void setFragment(final Map fragment) {
this.fragment = fragment;
}
@Override
@SuppressWarnings("all")
@lombok.Generated
public boolean equals(final Object o) {
if (o == this) return true;
if (!(o instanceof CloudFormationMacroRequest)) return false;
final CloudFormationMacroRequest other = (CloudFormationMacroRequest) o;
if (!other.canEqual((Object) this)) return false;
final Object this$requestId = this.getRequestId();
final Object other$requestId = other.getRequestId();
if (this$requestId == null ? other$requestId != null : !this$requestId.equals(other$requestId)) return false;
final Object this$fragment = this.getFragment();
final Object other$fragment = other.getFragment();
if (this$fragment == null ? other$fragment != null : !this$fragment.equals(other$fragment)) return false;
return true;
}
@SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final Object other) {
return other instanceof CloudFormationMacroRequest;
}
@Override
@SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final Object $requestId = this.getRequestId();
result = result * PRIME + ($requestId == null ? 43 : $requestId.hashCode());
final Object $fragment = this.getFragment();
result = result * PRIME + ($fragment == null ? 43 : $fragment.hashCode());
return result;
}
@Override
@SuppressWarnings("all")
@lombok.Generated
public String toString() {
return "CloudFormationMacroRequest(requestId=" + this.getRequestId() + ", fragment=" + this.getFragment() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy