
com.amazonaws.services.clouddirectory.model.BatchReadSuccessfulResponse Maven / Gradle / Ivy
Show all versions of aws-java-sdk-clouddirectory Show documentation
/*
* Copyright 2020-2025 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.clouddirectory.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
*
* Represents the output of a BatchRead
success response operation.
*
*
* @see AWS API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class BatchReadSuccessfulResponse implements Serializable, Cloneable, StructuredPojo {
/**
*
* Lists all attributes that are associated with an object.
*
*/
private BatchListObjectAttributesResponse listObjectAttributes;
/**
*
* Returns a paginated list of child objects that are associated with a given object.
*
*/
private BatchListObjectChildrenResponse listObjectChildren;
/**
*
* Retrieves metadata about an object.
*
*/
private BatchGetObjectInformationResponse getObjectInformation;
/**
*
* Retrieves attributes within a facet that are associated with an object.
*
*/
private BatchGetObjectAttributesResponse getObjectAttributes;
/**
*
* Lists indices attached to an object.
*
*/
private BatchListAttachedIndicesResponse listAttachedIndices;
/**
*
* Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node
* objects. For more information about objects, see Directory Structure.
*
*/
private BatchListObjectParentPathsResponse listObjectParentPaths;
/**
*
* Returns policies attached to an object in pagination fashion.
*
*/
private BatchListObjectPoliciesResponse listObjectPolicies;
/**
*
* Returns all of the ObjectIdentifiers
to which a given policy is attached.
*
*/
private BatchListPolicyAttachmentsResponse listPolicyAttachments;
/**
*
* Lists all policies from the root of the Directory to the object specified. If there are no policies
* present, an empty list is returned. If policies are present, and if some objects don't have the policies
* attached, it returns the ObjectIdentifier
for such objects. If policies are present, it returns
* ObjectIdentifier
, policyId
, and policyType
. Paths that don't lead to the
* root from the target object are ignored. For more information, see Policies.
*
*/
private BatchLookupPolicyResponse lookupPolicy;
/**
*
* Lists objects attached to the specified index.
*
*/
private BatchListIndexResponse listIndex;
/**
*
* Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*
*/
private BatchListOutgoingTypedLinksResponse listOutgoingTypedLinks;
/**
*
* Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*
*/
private BatchListIncomingTypedLinksResponse listIncomingTypedLinks;
/**
*
* The list of attributes to retrieve from the typed link.
*
*/
private BatchGetLinkAttributesResponse getLinkAttributes;
/**
*
* The list of parent objects to retrieve.
*
*/
private BatchListObjectParentsResponse listObjectParents;
/**
*
* Lists all attributes that are associated with an object.
*
*
* @param listObjectAttributes
* Lists all attributes that are associated with an object.
*/
public void setListObjectAttributes(BatchListObjectAttributesResponse listObjectAttributes) {
this.listObjectAttributes = listObjectAttributes;
}
/**
*
* Lists all attributes that are associated with an object.
*
*
* @return Lists all attributes that are associated with an object.
*/
public BatchListObjectAttributesResponse getListObjectAttributes() {
return this.listObjectAttributes;
}
/**
*
* Lists all attributes that are associated with an object.
*
*
* @param listObjectAttributes
* Lists all attributes that are associated with an object.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListObjectAttributes(BatchListObjectAttributesResponse listObjectAttributes) {
setListObjectAttributes(listObjectAttributes);
return this;
}
/**
*
* Returns a paginated list of child objects that are associated with a given object.
*
*
* @param listObjectChildren
* Returns a paginated list of child objects that are associated with a given object.
*/
public void setListObjectChildren(BatchListObjectChildrenResponse listObjectChildren) {
this.listObjectChildren = listObjectChildren;
}
/**
*
* Returns a paginated list of child objects that are associated with a given object.
*
*
* @return Returns a paginated list of child objects that are associated with a given object.
*/
public BatchListObjectChildrenResponse getListObjectChildren() {
return this.listObjectChildren;
}
/**
*
* Returns a paginated list of child objects that are associated with a given object.
*
*
* @param listObjectChildren
* Returns a paginated list of child objects that are associated with a given object.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListObjectChildren(BatchListObjectChildrenResponse listObjectChildren) {
setListObjectChildren(listObjectChildren);
return this;
}
/**
*
* Retrieves metadata about an object.
*
*
* @param getObjectInformation
* Retrieves metadata about an object.
*/
public void setGetObjectInformation(BatchGetObjectInformationResponse getObjectInformation) {
this.getObjectInformation = getObjectInformation;
}
/**
*
* Retrieves metadata about an object.
*
*
* @return Retrieves metadata about an object.
*/
public BatchGetObjectInformationResponse getGetObjectInformation() {
return this.getObjectInformation;
}
/**
*
* Retrieves metadata about an object.
*
*
* @param getObjectInformation
* Retrieves metadata about an object.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withGetObjectInformation(BatchGetObjectInformationResponse getObjectInformation) {
setGetObjectInformation(getObjectInformation);
return this;
}
/**
*
* Retrieves attributes within a facet that are associated with an object.
*
*
* @param getObjectAttributes
* Retrieves attributes within a facet that are associated with an object.
*/
public void setGetObjectAttributes(BatchGetObjectAttributesResponse getObjectAttributes) {
this.getObjectAttributes = getObjectAttributes;
}
/**
*
* Retrieves attributes within a facet that are associated with an object.
*
*
* @return Retrieves attributes within a facet that are associated with an object.
*/
public BatchGetObjectAttributesResponse getGetObjectAttributes() {
return this.getObjectAttributes;
}
/**
*
* Retrieves attributes within a facet that are associated with an object.
*
*
* @param getObjectAttributes
* Retrieves attributes within a facet that are associated with an object.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withGetObjectAttributes(BatchGetObjectAttributesResponse getObjectAttributes) {
setGetObjectAttributes(getObjectAttributes);
return this;
}
/**
*
* Lists indices attached to an object.
*
*
* @param listAttachedIndices
* Lists indices attached to an object.
*/
public void setListAttachedIndices(BatchListAttachedIndicesResponse listAttachedIndices) {
this.listAttachedIndices = listAttachedIndices;
}
/**
*
* Lists indices attached to an object.
*
*
* @return Lists indices attached to an object.
*/
public BatchListAttachedIndicesResponse getListAttachedIndices() {
return this.listAttachedIndices;
}
/**
*
* Lists indices attached to an object.
*
*
* @param listAttachedIndices
* Lists indices attached to an object.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListAttachedIndices(BatchListAttachedIndicesResponse listAttachedIndices) {
setListAttachedIndices(listAttachedIndices);
return this;
}
/**
*
* Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node
* objects. For more information about objects, see Directory Structure.
*
*
* @param listObjectParentPaths
* Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index
* node objects. For more information about objects, see Directory Structure.
*/
public void setListObjectParentPaths(BatchListObjectParentPathsResponse listObjectParentPaths) {
this.listObjectParentPaths = listObjectParentPaths;
}
/**
*
* Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node
* objects. For more information about objects, see Directory Structure.
*
*
* @return Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index
* node objects. For more information about objects, see Directory Structure.
*/
public BatchListObjectParentPathsResponse getListObjectParentPaths() {
return this.listObjectParentPaths;
}
/**
*
* Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index node
* objects. For more information about objects, see Directory Structure.
*
*
* @param listObjectParentPaths
* Retrieves all available parent paths for any object type such as node, leaf node, policy node, and index
* node objects. For more information about objects, see Directory Structure.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListObjectParentPaths(BatchListObjectParentPathsResponse listObjectParentPaths) {
setListObjectParentPaths(listObjectParentPaths);
return this;
}
/**
*
* Returns policies attached to an object in pagination fashion.
*
*
* @param listObjectPolicies
* Returns policies attached to an object in pagination fashion.
*/
public void setListObjectPolicies(BatchListObjectPoliciesResponse listObjectPolicies) {
this.listObjectPolicies = listObjectPolicies;
}
/**
*
* Returns policies attached to an object in pagination fashion.
*
*
* @return Returns policies attached to an object in pagination fashion.
*/
public BatchListObjectPoliciesResponse getListObjectPolicies() {
return this.listObjectPolicies;
}
/**
*
* Returns policies attached to an object in pagination fashion.
*
*
* @param listObjectPolicies
* Returns policies attached to an object in pagination fashion.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListObjectPolicies(BatchListObjectPoliciesResponse listObjectPolicies) {
setListObjectPolicies(listObjectPolicies);
return this;
}
/**
*
* Returns all of the ObjectIdentifiers
to which a given policy is attached.
*
*
* @param listPolicyAttachments
* Returns all of the ObjectIdentifiers
to which a given policy is attached.
*/
public void setListPolicyAttachments(BatchListPolicyAttachmentsResponse listPolicyAttachments) {
this.listPolicyAttachments = listPolicyAttachments;
}
/**
*
* Returns all of the ObjectIdentifiers
to which a given policy is attached.
*
*
* @return Returns all of the ObjectIdentifiers
to which a given policy is attached.
*/
public BatchListPolicyAttachmentsResponse getListPolicyAttachments() {
return this.listPolicyAttachments;
}
/**
*
* Returns all of the ObjectIdentifiers
to which a given policy is attached.
*
*
* @param listPolicyAttachments
* Returns all of the ObjectIdentifiers
to which a given policy is attached.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListPolicyAttachments(BatchListPolicyAttachmentsResponse listPolicyAttachments) {
setListPolicyAttachments(listPolicyAttachments);
return this;
}
/**
*
* Lists all policies from the root of the Directory to the object specified. If there are no policies
* present, an empty list is returned. If policies are present, and if some objects don't have the policies
* attached, it returns the ObjectIdentifier
for such objects. If policies are present, it returns
* ObjectIdentifier
, policyId
, and policyType
. Paths that don't lead to the
* root from the target object are ignored. For more information, see Policies.
*
*
* @param lookupPolicy
* Lists all policies from the root of the Directory to the object specified. If there are no policies
* present, an empty list is returned. If policies are present, and if some objects don't have the policies
* attached, it returns the ObjectIdentifier
for such objects. If policies are present, it
* returns ObjectIdentifier
, policyId
, and policyType
. Paths that
* don't lead to the root from the target object are ignored. For more information, see Policies.
*/
public void setLookupPolicy(BatchLookupPolicyResponse lookupPolicy) {
this.lookupPolicy = lookupPolicy;
}
/**
*
* Lists all policies from the root of the Directory to the object specified. If there are no policies
* present, an empty list is returned. If policies are present, and if some objects don't have the policies
* attached, it returns the ObjectIdentifier
for such objects. If policies are present, it returns
* ObjectIdentifier
, policyId
, and policyType
. Paths that don't lead to the
* root from the target object are ignored. For more information, see Policies.
*
*
* @return Lists all policies from the root of the Directory to the object specified. If there are no
* policies present, an empty list is returned. If policies are present, and if some objects don't have the
* policies attached, it returns the ObjectIdentifier
for such objects. If policies are
* present, it returns ObjectIdentifier
, policyId
, and policyType
.
* Paths that don't lead to the root from the target object are ignored. For more information, see Policies.
*/
public BatchLookupPolicyResponse getLookupPolicy() {
return this.lookupPolicy;
}
/**
*
* Lists all policies from the root of the Directory to the object specified. If there are no policies
* present, an empty list is returned. If policies are present, and if some objects don't have the policies
* attached, it returns the ObjectIdentifier
for such objects. If policies are present, it returns
* ObjectIdentifier
, policyId
, and policyType
. Paths that don't lead to the
* root from the target object are ignored. For more information, see Policies.
*
*
* @param lookupPolicy
* Lists all policies from the root of the Directory to the object specified. If there are no policies
* present, an empty list is returned. If policies are present, and if some objects don't have the policies
* attached, it returns the ObjectIdentifier
for such objects. If policies are present, it
* returns ObjectIdentifier
, policyId
, and policyType
. Paths that
* don't lead to the root from the target object are ignored. For more information, see Policies.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withLookupPolicy(BatchLookupPolicyResponse lookupPolicy) {
setLookupPolicy(lookupPolicy);
return this;
}
/**
*
* Lists objects attached to the specified index.
*
*
* @param listIndex
* Lists objects attached to the specified index.
*/
public void setListIndex(BatchListIndexResponse listIndex) {
this.listIndex = listIndex;
}
/**
*
* Lists objects attached to the specified index.
*
*
* @return Lists objects attached to the specified index.
*/
public BatchListIndexResponse getListIndex() {
return this.listIndex;
}
/**
*
* Lists objects attached to the specified index.
*
*
* @param listIndex
* Lists objects attached to the specified index.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListIndex(BatchListIndexResponse listIndex) {
setListIndex(listIndex);
return this;
}
/**
*
* Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*
*
* @param listOutgoingTypedLinks
* Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*/
public void setListOutgoingTypedLinks(BatchListOutgoingTypedLinksResponse listOutgoingTypedLinks) {
this.listOutgoingTypedLinks = listOutgoingTypedLinks;
}
/**
*
* Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*
*
* @return Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*/
public BatchListOutgoingTypedLinksResponse getListOutgoingTypedLinks() {
return this.listOutgoingTypedLinks;
}
/**
*
* Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*
*
* @param listOutgoingTypedLinks
* Returns a paginated list of all the outgoing TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListOutgoingTypedLinks(BatchListOutgoingTypedLinksResponse listOutgoingTypedLinks) {
setListOutgoingTypedLinks(listOutgoingTypedLinks);
return this;
}
/**
*
* Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*
*
* @param listIncomingTypedLinks
* Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*/
public void setListIncomingTypedLinks(BatchListIncomingTypedLinksResponse listIncomingTypedLinks) {
this.listIncomingTypedLinks = listIncomingTypedLinks;
}
/**
*
* Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*
*
* @return Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*/
public BatchListIncomingTypedLinksResponse getListIncomingTypedLinks() {
return this.listIncomingTypedLinks;
}
/**
*
* Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
*
*
* @param listIncomingTypedLinks
* Returns a paginated list of all the incoming TypedLinkSpecifier information for an object. It also
* supports filtering by typed link facet and identity attributes. For more information, see Typed Links.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListIncomingTypedLinks(BatchListIncomingTypedLinksResponse listIncomingTypedLinks) {
setListIncomingTypedLinks(listIncomingTypedLinks);
return this;
}
/**
*
* The list of attributes to retrieve from the typed link.
*
*
* @param getLinkAttributes
* The list of attributes to retrieve from the typed link.
*/
public void setGetLinkAttributes(BatchGetLinkAttributesResponse getLinkAttributes) {
this.getLinkAttributes = getLinkAttributes;
}
/**
*
* The list of attributes to retrieve from the typed link.
*
*
* @return The list of attributes to retrieve from the typed link.
*/
public BatchGetLinkAttributesResponse getGetLinkAttributes() {
return this.getLinkAttributes;
}
/**
*
* The list of attributes to retrieve from the typed link.
*
*
* @param getLinkAttributes
* The list of attributes to retrieve from the typed link.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withGetLinkAttributes(BatchGetLinkAttributesResponse getLinkAttributes) {
setGetLinkAttributes(getLinkAttributes);
return this;
}
/**
*
* The list of parent objects to retrieve.
*
*
* @param listObjectParents
* The list of parent objects to retrieve.
*/
public void setListObjectParents(BatchListObjectParentsResponse listObjectParents) {
this.listObjectParents = listObjectParents;
}
/**
*
* The list of parent objects to retrieve.
*
*
* @return The list of parent objects to retrieve.
*/
public BatchListObjectParentsResponse getListObjectParents() {
return this.listObjectParents;
}
/**
*
* The list of parent objects to retrieve.
*
*
* @param listObjectParents
* The list of parent objects to retrieve.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchReadSuccessfulResponse withListObjectParents(BatchListObjectParentsResponse listObjectParents) {
setListObjectParents(listObjectParents);
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 (getListObjectAttributes() != null)
sb.append("ListObjectAttributes: ").append(getListObjectAttributes()).append(",");
if (getListObjectChildren() != null)
sb.append("ListObjectChildren: ").append(getListObjectChildren()).append(",");
if (getGetObjectInformation() != null)
sb.append("GetObjectInformation: ").append(getGetObjectInformation()).append(",");
if (getGetObjectAttributes() != null)
sb.append("GetObjectAttributes: ").append(getGetObjectAttributes()).append(",");
if (getListAttachedIndices() != null)
sb.append("ListAttachedIndices: ").append(getListAttachedIndices()).append(",");
if (getListObjectParentPaths() != null)
sb.append("ListObjectParentPaths: ").append(getListObjectParentPaths()).append(",");
if (getListObjectPolicies() != null)
sb.append("ListObjectPolicies: ").append(getListObjectPolicies()).append(",");
if (getListPolicyAttachments() != null)
sb.append("ListPolicyAttachments: ").append(getListPolicyAttachments()).append(",");
if (getLookupPolicy() != null)
sb.append("LookupPolicy: ").append(getLookupPolicy()).append(",");
if (getListIndex() != null)
sb.append("ListIndex: ").append(getListIndex()).append(",");
if (getListOutgoingTypedLinks() != null)
sb.append("ListOutgoingTypedLinks: ").append(getListOutgoingTypedLinks()).append(",");
if (getListIncomingTypedLinks() != null)
sb.append("ListIncomingTypedLinks: ").append(getListIncomingTypedLinks()).append(",");
if (getGetLinkAttributes() != null)
sb.append("GetLinkAttributes: ").append(getGetLinkAttributes()).append(",");
if (getListObjectParents() != null)
sb.append("ListObjectParents: ").append(getListObjectParents());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof BatchReadSuccessfulResponse == false)
return false;
BatchReadSuccessfulResponse other = (BatchReadSuccessfulResponse) obj;
if (other.getListObjectAttributes() == null ^ this.getListObjectAttributes() == null)
return false;
if (other.getListObjectAttributes() != null && other.getListObjectAttributes().equals(this.getListObjectAttributes()) == false)
return false;
if (other.getListObjectChildren() == null ^ this.getListObjectChildren() == null)
return false;
if (other.getListObjectChildren() != null && other.getListObjectChildren().equals(this.getListObjectChildren()) == false)
return false;
if (other.getGetObjectInformation() == null ^ this.getGetObjectInformation() == null)
return false;
if (other.getGetObjectInformation() != null && other.getGetObjectInformation().equals(this.getGetObjectInformation()) == false)
return false;
if (other.getGetObjectAttributes() == null ^ this.getGetObjectAttributes() == null)
return false;
if (other.getGetObjectAttributes() != null && other.getGetObjectAttributes().equals(this.getGetObjectAttributes()) == false)
return false;
if (other.getListAttachedIndices() == null ^ this.getListAttachedIndices() == null)
return false;
if (other.getListAttachedIndices() != null && other.getListAttachedIndices().equals(this.getListAttachedIndices()) == false)
return false;
if (other.getListObjectParentPaths() == null ^ this.getListObjectParentPaths() == null)
return false;
if (other.getListObjectParentPaths() != null && other.getListObjectParentPaths().equals(this.getListObjectParentPaths()) == false)
return false;
if (other.getListObjectPolicies() == null ^ this.getListObjectPolicies() == null)
return false;
if (other.getListObjectPolicies() != null && other.getListObjectPolicies().equals(this.getListObjectPolicies()) == false)
return false;
if (other.getListPolicyAttachments() == null ^ this.getListPolicyAttachments() == null)
return false;
if (other.getListPolicyAttachments() != null && other.getListPolicyAttachments().equals(this.getListPolicyAttachments()) == false)
return false;
if (other.getLookupPolicy() == null ^ this.getLookupPolicy() == null)
return false;
if (other.getLookupPolicy() != null && other.getLookupPolicy().equals(this.getLookupPolicy()) == false)
return false;
if (other.getListIndex() == null ^ this.getListIndex() == null)
return false;
if (other.getListIndex() != null && other.getListIndex().equals(this.getListIndex()) == false)
return false;
if (other.getListOutgoingTypedLinks() == null ^ this.getListOutgoingTypedLinks() == null)
return false;
if (other.getListOutgoingTypedLinks() != null && other.getListOutgoingTypedLinks().equals(this.getListOutgoingTypedLinks()) == false)
return false;
if (other.getListIncomingTypedLinks() == null ^ this.getListIncomingTypedLinks() == null)
return false;
if (other.getListIncomingTypedLinks() != null && other.getListIncomingTypedLinks().equals(this.getListIncomingTypedLinks()) == false)
return false;
if (other.getGetLinkAttributes() == null ^ this.getGetLinkAttributes() == null)
return false;
if (other.getGetLinkAttributes() != null && other.getGetLinkAttributes().equals(this.getGetLinkAttributes()) == false)
return false;
if (other.getListObjectParents() == null ^ this.getListObjectParents() == null)
return false;
if (other.getListObjectParents() != null && other.getListObjectParents().equals(this.getListObjectParents()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getListObjectAttributes() == null) ? 0 : getListObjectAttributes().hashCode());
hashCode = prime * hashCode + ((getListObjectChildren() == null) ? 0 : getListObjectChildren().hashCode());
hashCode = prime * hashCode + ((getGetObjectInformation() == null) ? 0 : getGetObjectInformation().hashCode());
hashCode = prime * hashCode + ((getGetObjectAttributes() == null) ? 0 : getGetObjectAttributes().hashCode());
hashCode = prime * hashCode + ((getListAttachedIndices() == null) ? 0 : getListAttachedIndices().hashCode());
hashCode = prime * hashCode + ((getListObjectParentPaths() == null) ? 0 : getListObjectParentPaths().hashCode());
hashCode = prime * hashCode + ((getListObjectPolicies() == null) ? 0 : getListObjectPolicies().hashCode());
hashCode = prime * hashCode + ((getListPolicyAttachments() == null) ? 0 : getListPolicyAttachments().hashCode());
hashCode = prime * hashCode + ((getLookupPolicy() == null) ? 0 : getLookupPolicy().hashCode());
hashCode = prime * hashCode + ((getListIndex() == null) ? 0 : getListIndex().hashCode());
hashCode = prime * hashCode + ((getListOutgoingTypedLinks() == null) ? 0 : getListOutgoingTypedLinks().hashCode());
hashCode = prime * hashCode + ((getListIncomingTypedLinks() == null) ? 0 : getListIncomingTypedLinks().hashCode());
hashCode = prime * hashCode + ((getGetLinkAttributes() == null) ? 0 : getGetLinkAttributes().hashCode());
hashCode = prime * hashCode + ((getListObjectParents() == null) ? 0 : getListObjectParents().hashCode());
return hashCode;
}
@Override
public BatchReadSuccessfulResponse clone() {
try {
return (BatchReadSuccessfulResponse) 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.clouddirectory.model.transform.BatchReadSuccessfulResponseMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}