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

com.amazonaws.services.detective.model.ListIndicatorsRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Detective module holds the client classes that are used for communicating with Amazon Detective 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.detective.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

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

    /**
     * 

* The Amazon Resource Name (ARN) of the behavior graph. *

*/ private String graphArn; /** *

* The investigation ID of the investigation report. *

*/ private String investigationId; /** *

* For the list of indicators of compromise that are generated by Detective investigations, see Detective * investigations. *

*/ private String indicatorType; /** *

* Lists if there are more results available. The value of nextToken is a unique pagination token for each page. * Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged. *

*

* Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation * Exception error. *

*/ private String nextToken; /** *

* Lists the maximum number of indicators in a page. *

*/ private Integer maxResults; /** *

* The Amazon Resource Name (ARN) of the behavior graph. *

* * @param graphArn * The Amazon Resource Name (ARN) of the behavior graph. */ public void setGraphArn(String graphArn) { this.graphArn = graphArn; } /** *

* The Amazon Resource Name (ARN) of the behavior graph. *

* * @return The Amazon Resource Name (ARN) of the behavior graph. */ public String getGraphArn() { return this.graphArn; } /** *

* The Amazon Resource Name (ARN) of the behavior graph. *

* * @param graphArn * The Amazon Resource Name (ARN) of the behavior graph. * @return Returns a reference to this object so that method calls can be chained together. */ public ListIndicatorsRequest withGraphArn(String graphArn) { setGraphArn(graphArn); return this; } /** *

* The investigation ID of the investigation report. *

* * @param investigationId * The investigation ID of the investigation report. */ public void setInvestigationId(String investigationId) { this.investigationId = investigationId; } /** *

* The investigation ID of the investigation report. *

* * @return The investigation ID of the investigation report. */ public String getInvestigationId() { return this.investigationId; } /** *

* The investigation ID of the investigation report. *

* * @param investigationId * The investigation ID of the investigation report. * @return Returns a reference to this object so that method calls can be chained together. */ public ListIndicatorsRequest withInvestigationId(String investigationId) { setInvestigationId(investigationId); return this; } /** *

* For the list of indicators of compromise that are generated by Detective investigations, see Detective * investigations. *

* * @param indicatorType * For the list of indicators of compromise that are generated by Detective investigations, see Detective * investigations. * @see IndicatorType */ public void setIndicatorType(String indicatorType) { this.indicatorType = indicatorType; } /** *

* For the list of indicators of compromise that are generated by Detective investigations, see Detective * investigations. *

* * @return For the list of indicators of compromise that are generated by Detective investigations, see Detective * investigations. * @see IndicatorType */ public String getIndicatorType() { return this.indicatorType; } /** *

* For the list of indicators of compromise that are generated by Detective investigations, see Detective * investigations. *

* * @param indicatorType * For the list of indicators of compromise that are generated by Detective investigations, see Detective * investigations. * @return Returns a reference to this object so that method calls can be chained together. * @see IndicatorType */ public ListIndicatorsRequest withIndicatorType(String indicatorType) { setIndicatorType(indicatorType); return this; } /** *

* For the list of indicators of compromise that are generated by Detective investigations, see Detective * investigations. *

* * @param indicatorType * For the list of indicators of compromise that are generated by Detective investigations, see Detective * investigations. * @return Returns a reference to this object so that method calls can be chained together. * @see IndicatorType */ public ListIndicatorsRequest withIndicatorType(IndicatorType indicatorType) { this.indicatorType = indicatorType.toString(); return this; } /** *

* Lists if there are more results available. The value of nextToken is a unique pagination token for each page. * Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged. *

*

* Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation * Exception error. *

* * @param nextToken * Lists if there are more results available. The value of nextToken is a unique pagination token for each * page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments * unchanged.

*

* Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation * Exception error. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** *

* Lists if there are more results available. The value of nextToken is a unique pagination token for each page. * Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged. *

*

* Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation * Exception error. *

* * @return Lists if there are more results available. The value of nextToken is a unique pagination token for each * page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments * unchanged.

*

* Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation * Exception error. */ public String getNextToken() { return this.nextToken; } /** *

* Lists if there are more results available. The value of nextToken is a unique pagination token for each page. * Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged. *

*

* Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation * Exception error. *

* * @param nextToken * Lists if there are more results available. The value of nextToken is a unique pagination token for each * page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments * unchanged.

*

* Each pagination token expires after 24 hours. Using an expired pagination token will return a Validation * Exception error. * @return Returns a reference to this object so that method calls can be chained together. */ public ListIndicatorsRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** *

* Lists the maximum number of indicators in a page. *

* * @param maxResults * Lists the maximum number of indicators in a page. */ public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } /** *

* Lists the maximum number of indicators in a page. *

* * @return Lists the maximum number of indicators in a page. */ public Integer getMaxResults() { return this.maxResults; } /** *

* Lists the maximum number of indicators in a page. *

* * @param maxResults * Lists the maximum number of indicators in a page. * @return Returns a reference to this object so that method calls can be chained together. */ public ListIndicatorsRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); 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 (getGraphArn() != null) sb.append("GraphArn: ").append(getGraphArn()).append(","); if (getInvestigationId() != null) sb.append("InvestigationId: ").append(getInvestigationId()).append(","); if (getIndicatorType() != null) sb.append("IndicatorType: ").append(getIndicatorType()).append(","); if (getNextToken() != null) sb.append("NextToken: ").append(getNextToken()).append(","); if (getMaxResults() != null) sb.append("MaxResults: ").append(getMaxResults()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ListIndicatorsRequest == false) return false; ListIndicatorsRequest other = (ListIndicatorsRequest) obj; if (other.getGraphArn() == null ^ this.getGraphArn() == null) return false; if (other.getGraphArn() != null && other.getGraphArn().equals(this.getGraphArn()) == false) return false; if (other.getInvestigationId() == null ^ this.getInvestigationId() == null) return false; if (other.getInvestigationId() != null && other.getInvestigationId().equals(this.getInvestigationId()) == false) return false; if (other.getIndicatorType() == null ^ this.getIndicatorType() == null) return false; if (other.getIndicatorType() != null && other.getIndicatorType().equals(this.getIndicatorType()) == false) return false; if (other.getNextToken() == null ^ this.getNextToken() == null) return false; if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false; if (other.getMaxResults() == null ^ this.getMaxResults() == null) return false; if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getGraphArn() == null) ? 0 : getGraphArn().hashCode()); hashCode = prime * hashCode + ((getInvestigationId() == null) ? 0 : getInvestigationId().hashCode()); hashCode = prime * hashCode + ((getIndicatorType() == null) ? 0 : getIndicatorType().hashCode()); hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); return hashCode; } @Override public ListIndicatorsRequest clone() { return (ListIndicatorsRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy