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

com.amazonaws.services.groundstation.model.GetMissionProfileResult Maven / Gradle / Ivy

Go to download

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

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

/**
 * 

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

* Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has * finished. *

*/ private Integer contactPostPassDurationSeconds; /** *

* Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass. *

*/ private Integer contactPrePassDurationSeconds; /** *

* A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a to * Config. *

*/ private java.util.List> dataflowEdges; /** *

* Smallest amount of time in seconds that you’d like to see for an available contact. AWS Ground Station will not * present you with contacts shorter than this duration. *

*/ private Integer minimumViableContactDurationSeconds; /** *

* ARN of a mission profile. *

*/ private String missionProfileArn; /** *

* UUID of a mission profile. *

*/ private String missionProfileId; /** *

* Name of a mission profile. *

*/ private String name; /** *

* Region of a mission profile. *

*/ private String region; /** *

* KMS key to use for encrypting streams. *

*/ private KmsKey streamsKmsKey; /** *

* Role to use for encrypting streams with KMS key. *

*/ private String streamsKmsRole; /** *

* Tags assigned to a mission profile. *

*/ private java.util.Map tags; /** *

* ARN of a tracking Config. *

*/ private String trackingConfigArn; /** *

* Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has * finished. *

* * @param contactPostPassDurationSeconds * Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has * finished. */ public void setContactPostPassDurationSeconds(Integer contactPostPassDurationSeconds) { this.contactPostPassDurationSeconds = contactPostPassDurationSeconds; } /** *

* Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has * finished. *

* * @return Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has * finished. */ public Integer getContactPostPassDurationSeconds() { return this.contactPostPassDurationSeconds; } /** *

* Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has * finished. *

* * @param contactPostPassDurationSeconds * Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has * finished. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withContactPostPassDurationSeconds(Integer contactPostPassDurationSeconds) { setContactPostPassDurationSeconds(contactPostPassDurationSeconds); return this; } /** *

* Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass. *

* * @param contactPrePassDurationSeconds * Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming * pass. */ public void setContactPrePassDurationSeconds(Integer contactPrePassDurationSeconds) { this.contactPrePassDurationSeconds = contactPrePassDurationSeconds; } /** *

* Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass. *

* * @return Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming * pass. */ public Integer getContactPrePassDurationSeconds() { return this.contactPrePassDurationSeconds; } /** *

* Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass. *

* * @param contactPrePassDurationSeconds * Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming * pass. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withContactPrePassDurationSeconds(Integer contactPrePassDurationSeconds) { setContactPrePassDurationSeconds(contactPrePassDurationSeconds); return this; } /** *

* A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a to * Config. *

* * @return A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a * to Config. */ public java.util.List> getDataflowEdges() { return dataflowEdges; } /** *

* A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a to * Config. *

* * @param dataflowEdges * A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a * to Config. */ public void setDataflowEdges(java.util.Collection> dataflowEdges) { if (dataflowEdges == null) { this.dataflowEdges = null; return; } this.dataflowEdges = new java.util.ArrayList>(dataflowEdges); } /** *

* A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a to * Config. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setDataflowEdges(java.util.Collection)} or {@link #withDataflowEdges(java.util.Collection)} if you want * to override the existing values. *

* * @param dataflowEdges * A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a * to Config. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withDataflowEdges(java.util.List... dataflowEdges) { if (this.dataflowEdges == null) { setDataflowEdges(new java.util.ArrayList>(dataflowEdges.length)); } for (java.util.List ele : dataflowEdges) { this.dataflowEdges.add(ele); } return this; } /** *

* A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a to * Config. *

* * @param dataflowEdges * A list of lists of ARNs. Each list of ARNs is an edge, with a from Config and a * to Config. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withDataflowEdges(java.util.Collection> dataflowEdges) { setDataflowEdges(dataflowEdges); return this; } /** *

* Smallest amount of time in seconds that you’d like to see for an available contact. AWS Ground Station will not * present you with contacts shorter than this duration. *

* * @param minimumViableContactDurationSeconds * Smallest amount of time in seconds that you’d like to see for an available contact. AWS Ground Station * will not present you with contacts shorter than this duration. */ public void setMinimumViableContactDurationSeconds(Integer minimumViableContactDurationSeconds) { this.minimumViableContactDurationSeconds = minimumViableContactDurationSeconds; } /** *

* Smallest amount of time in seconds that you’d like to see for an available contact. AWS Ground Station will not * present you with contacts shorter than this duration. *

* * @return Smallest amount of time in seconds that you’d like to see for an available contact. AWS Ground Station * will not present you with contacts shorter than this duration. */ public Integer getMinimumViableContactDurationSeconds() { return this.minimumViableContactDurationSeconds; } /** *

* Smallest amount of time in seconds that you’d like to see for an available contact. AWS Ground Station will not * present you with contacts shorter than this duration. *

* * @param minimumViableContactDurationSeconds * Smallest amount of time in seconds that you’d like to see for an available contact. AWS Ground Station * will not present you with contacts shorter than this duration. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withMinimumViableContactDurationSeconds(Integer minimumViableContactDurationSeconds) { setMinimumViableContactDurationSeconds(minimumViableContactDurationSeconds); return this; } /** *

* ARN of a mission profile. *

* * @param missionProfileArn * ARN of a mission profile. */ public void setMissionProfileArn(String missionProfileArn) { this.missionProfileArn = missionProfileArn; } /** *

* ARN of a mission profile. *

* * @return ARN of a mission profile. */ public String getMissionProfileArn() { return this.missionProfileArn; } /** *

* ARN of a mission profile. *

* * @param missionProfileArn * ARN of a mission profile. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withMissionProfileArn(String missionProfileArn) { setMissionProfileArn(missionProfileArn); return this; } /** *

* UUID of a mission profile. *

* * @param missionProfileId * UUID of a mission profile. */ public void setMissionProfileId(String missionProfileId) { this.missionProfileId = missionProfileId; } /** *

* UUID of a mission profile. *

* * @return UUID of a mission profile. */ public String getMissionProfileId() { return this.missionProfileId; } /** *

* UUID of a mission profile. *

* * @param missionProfileId * UUID of a mission profile. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withMissionProfileId(String missionProfileId) { setMissionProfileId(missionProfileId); return this; } /** *

* Name of a mission profile. *

* * @param name * Name of a mission profile. */ public void setName(String name) { this.name = name; } /** *

* Name of a mission profile. *

* * @return Name of a mission profile. */ public String getName() { return this.name; } /** *

* Name of a mission profile. *

* * @param name * Name of a mission profile. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withName(String name) { setName(name); return this; } /** *

* Region of a mission profile. *

* * @param region * Region of a mission profile. */ public void setRegion(String region) { this.region = region; } /** *

* Region of a mission profile. *

* * @return Region of a mission profile. */ public String getRegion() { return this.region; } /** *

* Region of a mission profile. *

* * @param region * Region of a mission profile. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withRegion(String region) { setRegion(region); return this; } /** *

* KMS key to use for encrypting streams. *

* * @param streamsKmsKey * KMS key to use for encrypting streams. */ public void setStreamsKmsKey(KmsKey streamsKmsKey) { this.streamsKmsKey = streamsKmsKey; } /** *

* KMS key to use for encrypting streams. *

* * @return KMS key to use for encrypting streams. */ public KmsKey getStreamsKmsKey() { return this.streamsKmsKey; } /** *

* KMS key to use for encrypting streams. *

* * @param streamsKmsKey * KMS key to use for encrypting streams. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withStreamsKmsKey(KmsKey streamsKmsKey) { setStreamsKmsKey(streamsKmsKey); return this; } /** *

* Role to use for encrypting streams with KMS key. *

* * @param streamsKmsRole * Role to use for encrypting streams with KMS key. */ public void setStreamsKmsRole(String streamsKmsRole) { this.streamsKmsRole = streamsKmsRole; } /** *

* Role to use for encrypting streams with KMS key. *

* * @return Role to use for encrypting streams with KMS key. */ public String getStreamsKmsRole() { return this.streamsKmsRole; } /** *

* Role to use for encrypting streams with KMS key. *

* * @param streamsKmsRole * Role to use for encrypting streams with KMS key. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withStreamsKmsRole(String streamsKmsRole) { setStreamsKmsRole(streamsKmsRole); return this; } /** *

* Tags assigned to a mission profile. *

* * @return Tags assigned to a mission profile. */ public java.util.Map getTags() { return tags; } /** *

* Tags assigned to a mission profile. *

* * @param tags * Tags assigned to a mission profile. */ public void setTags(java.util.Map tags) { this.tags = tags; } /** *

* Tags assigned to a mission profile. *

* * @param tags * Tags assigned to a mission profile. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withTags(java.util.Map tags) { setTags(tags); return this; } /** * Add a single Tags entry * * @see GetMissionProfileResult#withTags * @returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult addTagsEntry(String key, String value) { if (null == this.tags) { this.tags = new java.util.HashMap(); } if (this.tags.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.tags.put(key, value); return this; } /** * Removes all the entries added into Tags. * * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult clearTagsEntries() { this.tags = null; return this; } /** *

* ARN of a tracking Config. *

* * @param trackingConfigArn * ARN of a tracking Config. */ public void setTrackingConfigArn(String trackingConfigArn) { this.trackingConfigArn = trackingConfigArn; } /** *

* ARN of a tracking Config. *

* * @return ARN of a tracking Config. */ public String getTrackingConfigArn() { return this.trackingConfigArn; } /** *

* ARN of a tracking Config. *

* * @param trackingConfigArn * ARN of a tracking Config. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMissionProfileResult withTrackingConfigArn(String trackingConfigArn) { setTrackingConfigArn(trackingConfigArn); 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 (getContactPostPassDurationSeconds() != null) sb.append("ContactPostPassDurationSeconds: ").append(getContactPostPassDurationSeconds()).append(","); if (getContactPrePassDurationSeconds() != null) sb.append("ContactPrePassDurationSeconds: ").append(getContactPrePassDurationSeconds()).append(","); if (getDataflowEdges() != null) sb.append("DataflowEdges: ").append(getDataflowEdges()).append(","); if (getMinimumViableContactDurationSeconds() != null) sb.append("MinimumViableContactDurationSeconds: ").append(getMinimumViableContactDurationSeconds()).append(","); if (getMissionProfileArn() != null) sb.append("MissionProfileArn: ").append(getMissionProfileArn()).append(","); if (getMissionProfileId() != null) sb.append("MissionProfileId: ").append(getMissionProfileId()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getRegion() != null) sb.append("Region: ").append(getRegion()).append(","); if (getStreamsKmsKey() != null) sb.append("StreamsKmsKey: ").append(getStreamsKmsKey()).append(","); if (getStreamsKmsRole() != null) sb.append("StreamsKmsRole: ").append(getStreamsKmsRole()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getTrackingConfigArn() != null) sb.append("TrackingConfigArn: ").append(getTrackingConfigArn()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetMissionProfileResult == false) return false; GetMissionProfileResult other = (GetMissionProfileResult) obj; if (other.getContactPostPassDurationSeconds() == null ^ this.getContactPostPassDurationSeconds() == null) return false; if (other.getContactPostPassDurationSeconds() != null && other.getContactPostPassDurationSeconds().equals(this.getContactPostPassDurationSeconds()) == false) return false; if (other.getContactPrePassDurationSeconds() == null ^ this.getContactPrePassDurationSeconds() == null) return false; if (other.getContactPrePassDurationSeconds() != null && other.getContactPrePassDurationSeconds().equals(this.getContactPrePassDurationSeconds()) == false) return false; if (other.getDataflowEdges() == null ^ this.getDataflowEdges() == null) return false; if (other.getDataflowEdges() != null && other.getDataflowEdges().equals(this.getDataflowEdges()) == false) return false; if (other.getMinimumViableContactDurationSeconds() == null ^ this.getMinimumViableContactDurationSeconds() == null) return false; if (other.getMinimumViableContactDurationSeconds() != null && other.getMinimumViableContactDurationSeconds().equals(this.getMinimumViableContactDurationSeconds()) == false) return false; if (other.getMissionProfileArn() == null ^ this.getMissionProfileArn() == null) return false; if (other.getMissionProfileArn() != null && other.getMissionProfileArn().equals(this.getMissionProfileArn()) == false) return false; if (other.getMissionProfileId() == null ^ this.getMissionProfileId() == null) return false; if (other.getMissionProfileId() != null && other.getMissionProfileId().equals(this.getMissionProfileId()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getRegion() == null ^ this.getRegion() == null) return false; if (other.getRegion() != null && other.getRegion().equals(this.getRegion()) == false) return false; if (other.getStreamsKmsKey() == null ^ this.getStreamsKmsKey() == null) return false; if (other.getStreamsKmsKey() != null && other.getStreamsKmsKey().equals(this.getStreamsKmsKey()) == false) return false; if (other.getStreamsKmsRole() == null ^ this.getStreamsKmsRole() == null) return false; if (other.getStreamsKmsRole() != null && other.getStreamsKmsRole().equals(this.getStreamsKmsRole()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getTrackingConfigArn() == null ^ this.getTrackingConfigArn() == null) return false; if (other.getTrackingConfigArn() != null && other.getTrackingConfigArn().equals(this.getTrackingConfigArn()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getContactPostPassDurationSeconds() == null) ? 0 : getContactPostPassDurationSeconds().hashCode()); hashCode = prime * hashCode + ((getContactPrePassDurationSeconds() == null) ? 0 : getContactPrePassDurationSeconds().hashCode()); hashCode = prime * hashCode + ((getDataflowEdges() == null) ? 0 : getDataflowEdges().hashCode()); hashCode = prime * hashCode + ((getMinimumViableContactDurationSeconds() == null) ? 0 : getMinimumViableContactDurationSeconds().hashCode()); hashCode = prime * hashCode + ((getMissionProfileArn() == null) ? 0 : getMissionProfileArn().hashCode()); hashCode = prime * hashCode + ((getMissionProfileId() == null) ? 0 : getMissionProfileId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getRegion() == null) ? 0 : getRegion().hashCode()); hashCode = prime * hashCode + ((getStreamsKmsKey() == null) ? 0 : getStreamsKmsKey().hashCode()); hashCode = prime * hashCode + ((getStreamsKmsRole() == null) ? 0 : getStreamsKmsRole().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getTrackingConfigArn() == null) ? 0 : getTrackingConfigArn().hashCode()); return hashCode; } @Override public GetMissionProfileResult clone() { try { return (GetMissionProfileResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy