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

com.amazonaws.services.wellarchitected.model.AccountJiraConfigurationInput Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Well-Architected Tool module holds the client classes that are used for communicating with AWS Well-Architected Tool Service

There is a newer version: 1.12.778
Show 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.wellarchitected.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Account-level: Input for the Jira configuration. *

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

* Account-level: Jira issue management status. *

*/ private String issueManagementStatus; /** *

* Account-level: Jira issue management type. *

*/ private String issueManagementType; /** *

* Account-level: Jira project key to sync workloads to. *

*/ private String jiraProjectKey; /** *

* Account-level: Configuration status of the Jira integration. *

*/ private String integrationStatus; /** *

* Account-level: Jira issue management status. *

* * @param issueManagementStatus * Account-level: Jira issue management status. * @see AccountJiraIssueManagementStatus */ public void setIssueManagementStatus(String issueManagementStatus) { this.issueManagementStatus = issueManagementStatus; } /** *

* Account-level: Jira issue management status. *

* * @return Account-level: Jira issue management status. * @see AccountJiraIssueManagementStatus */ public String getIssueManagementStatus() { return this.issueManagementStatus; } /** *

* Account-level: Jira issue management status. *

* * @param issueManagementStatus * Account-level: Jira issue management status. * @return Returns a reference to this object so that method calls can be chained together. * @see AccountJiraIssueManagementStatus */ public AccountJiraConfigurationInput withIssueManagementStatus(String issueManagementStatus) { setIssueManagementStatus(issueManagementStatus); return this; } /** *

* Account-level: Jira issue management status. *

* * @param issueManagementStatus * Account-level: Jira issue management status. * @return Returns a reference to this object so that method calls can be chained together. * @see AccountJiraIssueManagementStatus */ public AccountJiraConfigurationInput withIssueManagementStatus(AccountJiraIssueManagementStatus issueManagementStatus) { this.issueManagementStatus = issueManagementStatus.toString(); return this; } /** *

* Account-level: Jira issue management type. *

* * @param issueManagementType * Account-level: Jira issue management type. * @see IssueManagementType */ public void setIssueManagementType(String issueManagementType) { this.issueManagementType = issueManagementType; } /** *

* Account-level: Jira issue management type. *

* * @return Account-level: Jira issue management type. * @see IssueManagementType */ public String getIssueManagementType() { return this.issueManagementType; } /** *

* Account-level: Jira issue management type. *

* * @param issueManagementType * Account-level: Jira issue management type. * @return Returns a reference to this object so that method calls can be chained together. * @see IssueManagementType */ public AccountJiraConfigurationInput withIssueManagementType(String issueManagementType) { setIssueManagementType(issueManagementType); return this; } /** *

* Account-level: Jira issue management type. *

* * @param issueManagementType * Account-level: Jira issue management type. * @return Returns a reference to this object so that method calls can be chained together. * @see IssueManagementType */ public AccountJiraConfigurationInput withIssueManagementType(IssueManagementType issueManagementType) { this.issueManagementType = issueManagementType.toString(); return this; } /** *

* Account-level: Jira project key to sync workloads to. *

* * @param jiraProjectKey * Account-level: Jira project key to sync workloads to. */ public void setJiraProjectKey(String jiraProjectKey) { this.jiraProjectKey = jiraProjectKey; } /** *

* Account-level: Jira project key to sync workloads to. *

* * @return Account-level: Jira project key to sync workloads to. */ public String getJiraProjectKey() { return this.jiraProjectKey; } /** *

* Account-level: Jira project key to sync workloads to. *

* * @param jiraProjectKey * Account-level: Jira project key to sync workloads to. * @return Returns a reference to this object so that method calls can be chained together. */ public AccountJiraConfigurationInput withJiraProjectKey(String jiraProjectKey) { setJiraProjectKey(jiraProjectKey); return this; } /** *

* Account-level: Configuration status of the Jira integration. *

* * @param integrationStatus * Account-level: Configuration status of the Jira integration. * @see IntegrationStatusInput */ public void setIntegrationStatus(String integrationStatus) { this.integrationStatus = integrationStatus; } /** *

* Account-level: Configuration status of the Jira integration. *

* * @return Account-level: Configuration status of the Jira integration. * @see IntegrationStatusInput */ public String getIntegrationStatus() { return this.integrationStatus; } /** *

* Account-level: Configuration status of the Jira integration. *

* * @param integrationStatus * Account-level: Configuration status of the Jira integration. * @return Returns a reference to this object so that method calls can be chained together. * @see IntegrationStatusInput */ public AccountJiraConfigurationInput withIntegrationStatus(String integrationStatus) { setIntegrationStatus(integrationStatus); return this; } /** *

* Account-level: Configuration status of the Jira integration. *

* * @param integrationStatus * Account-level: Configuration status of the Jira integration. * @return Returns a reference to this object so that method calls can be chained together. * @see IntegrationStatusInput */ public AccountJiraConfigurationInput withIntegrationStatus(IntegrationStatusInput integrationStatus) { this.integrationStatus = integrationStatus.toString(); 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 (getIssueManagementStatus() != null) sb.append("IssueManagementStatus: ").append(getIssueManagementStatus()).append(","); if (getIssueManagementType() != null) sb.append("IssueManagementType: ").append(getIssueManagementType()).append(","); if (getJiraProjectKey() != null) sb.append("JiraProjectKey: ").append(getJiraProjectKey()).append(","); if (getIntegrationStatus() != null) sb.append("IntegrationStatus: ").append(getIntegrationStatus()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof AccountJiraConfigurationInput == false) return false; AccountJiraConfigurationInput other = (AccountJiraConfigurationInput) obj; if (other.getIssueManagementStatus() == null ^ this.getIssueManagementStatus() == null) return false; if (other.getIssueManagementStatus() != null && other.getIssueManagementStatus().equals(this.getIssueManagementStatus()) == false) return false; if (other.getIssueManagementType() == null ^ this.getIssueManagementType() == null) return false; if (other.getIssueManagementType() != null && other.getIssueManagementType().equals(this.getIssueManagementType()) == false) return false; if (other.getJiraProjectKey() == null ^ this.getJiraProjectKey() == null) return false; if (other.getJiraProjectKey() != null && other.getJiraProjectKey().equals(this.getJiraProjectKey()) == false) return false; if (other.getIntegrationStatus() == null ^ this.getIntegrationStatus() == null) return false; if (other.getIntegrationStatus() != null && other.getIntegrationStatus().equals(this.getIntegrationStatus()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getIssueManagementStatus() == null) ? 0 : getIssueManagementStatus().hashCode()); hashCode = prime * hashCode + ((getIssueManagementType() == null) ? 0 : getIssueManagementType().hashCode()); hashCode = prime * hashCode + ((getJiraProjectKey() == null) ? 0 : getJiraProjectKey().hashCode()); hashCode = prime * hashCode + ((getIntegrationStatus() == null) ? 0 : getIntegrationStatus().hashCode()); return hashCode; } @Override public AccountJiraConfigurationInput clone() { try { return (AccountJiraConfigurationInput) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.wellarchitected.model.transform.AccountJiraConfigurationInputMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy