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

com.amazonaws.services.databasemigrationservice.model.SCApplicationAttributes Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Database Migration Service module holds the client classes that are used for communicating with AWS Database Migration Service.

The 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.databasemigrationservice.model;

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

/**
 * 

* Provides information that defines a schema conversion application. *

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

* The path for the Amazon S3 bucket that the application uses for exporting assessment reports. *

*/ private String s3BucketPath; /** *

* The ARN for the role the application uses to access its Amazon S3 bucket. *

*/ private String s3BucketRoleArn; /** *

* The path for the Amazon S3 bucket that the application uses for exporting assessment reports. *

* * @param s3BucketPath * The path for the Amazon S3 bucket that the application uses for exporting assessment reports. */ public void setS3BucketPath(String s3BucketPath) { this.s3BucketPath = s3BucketPath; } /** *

* The path for the Amazon S3 bucket that the application uses for exporting assessment reports. *

* * @return The path for the Amazon S3 bucket that the application uses for exporting assessment reports. */ public String getS3BucketPath() { return this.s3BucketPath; } /** *

* The path for the Amazon S3 bucket that the application uses for exporting assessment reports. *

* * @param s3BucketPath * The path for the Amazon S3 bucket that the application uses for exporting assessment reports. * @return Returns a reference to this object so that method calls can be chained together. */ public SCApplicationAttributes withS3BucketPath(String s3BucketPath) { setS3BucketPath(s3BucketPath); return this; } /** *

* The ARN for the role the application uses to access its Amazon S3 bucket. *

* * @param s3BucketRoleArn * The ARN for the role the application uses to access its Amazon S3 bucket. */ public void setS3BucketRoleArn(String s3BucketRoleArn) { this.s3BucketRoleArn = s3BucketRoleArn; } /** *

* The ARN for the role the application uses to access its Amazon S3 bucket. *

* * @return The ARN for the role the application uses to access its Amazon S3 bucket. */ public String getS3BucketRoleArn() { return this.s3BucketRoleArn; } /** *

* The ARN for the role the application uses to access its Amazon S3 bucket. *

* * @param s3BucketRoleArn * The ARN for the role the application uses to access its Amazon S3 bucket. * @return Returns a reference to this object so that method calls can be chained together. */ public SCApplicationAttributes withS3BucketRoleArn(String s3BucketRoleArn) { setS3BucketRoleArn(s3BucketRoleArn); 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 (getS3BucketPath() != null) sb.append("S3BucketPath: ").append(getS3BucketPath()).append(","); if (getS3BucketRoleArn() != null) sb.append("S3BucketRoleArn: ").append(getS3BucketRoleArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SCApplicationAttributes == false) return false; SCApplicationAttributes other = (SCApplicationAttributes) obj; if (other.getS3BucketPath() == null ^ this.getS3BucketPath() == null) return false; if (other.getS3BucketPath() != null && other.getS3BucketPath().equals(this.getS3BucketPath()) == false) return false; if (other.getS3BucketRoleArn() == null ^ this.getS3BucketRoleArn() == null) return false; if (other.getS3BucketRoleArn() != null && other.getS3BucketRoleArn().equals(this.getS3BucketRoleArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getS3BucketPath() == null) ? 0 : getS3BucketPath().hashCode()); hashCode = prime * hashCode + ((getS3BucketRoleArn() == null) ? 0 : getS3BucketRoleArn().hashCode()); return hashCode; } @Override public SCApplicationAttributes clone() { try { return (SCApplicationAttributes) 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.databasemigrationservice.model.transform.SCApplicationAttributesMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy