/** * <p> * Environment variable key-value pairs. * </p> * * @param variables * Environment variable key-value pairs. */ public void setVariables(java.util.Map<String, String> variables) { this.variables = variables == null ? null : new com.amazonaws.internal.SdkInternalMap<String, String>(variables); }
public WeeklyAutoScalingSchedule addSaturdayEntry(String key, String value) { if (null == this.saturday) { this.saturday = new com.amazonaws.internal.SdkInternalMap<String, String>(); } if (this.saturday.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.saturday.put(key, value); return this; }
@Override protected boolean shouldEmit(Map map) { return !(map.isEmpty() && map instanceof SdkInternalMap && ((SdkInternalMap) map).isAutoConstruct()); } };
public CreateAppRequest addAttributesEntry(String key, String value) { if (null == this.attributes) { this.attributes = new com.amazonaws.internal.SdkInternalMap<String, String>(); } if (this.attributes.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.attributes.put(key, value); return this; }
public Stack addAttributesEntry(String key, String value) { if (null == this.attributes) { this.attributes = new com.amazonaws.internal.SdkInternalMap<String, String>(); } if (this.attributes.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.attributes.put(key, value); return this; }
/** * <p> * The schedule for Thursday. * </p> * * @param thursday * The schedule for Thursday. */ public void setThursday(java.util.Map<String, String> thursday) { this.thursday = thursday == null ? null : new com.amazonaws.internal.SdkInternalMap<String, String>(thursday); }
public Message addMessageAttributesEntry(String key, MessageAttributeValue value) { if (null == this.messageAttributes) { this.messageAttributes = new com.amazonaws.internal.SdkInternalMap<String, MessageAttributeValue>(); } if (this.messageAttributes.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.messageAttributes.put(key, value); return this; }
/** * <p> * The schedule for Friday. * </p> * * @param friday * The schedule for Friday. */ public void setFriday(java.util.Map<String, String> friday) { this.friday = friday == null ? null : new com.amazonaws.internal.SdkInternalMap<String, String>(friday); }
public Application addAdditionalInfoEntry(String key, String value) { if (null == this.additionalInfo) { this.additionalInfo = new com.amazonaws.internal.SdkInternalMap<String, String>(); } if (this.additionalInfo.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.additionalInfo.put(key, value); return this; }
/** * <p> * The schedule for Sunday. * </p> * * @param sunday * The schedule for Sunday. */ public void setSunday(java.util.Map<String, String> sunday) { this.sunday = sunday == null ? null : new com.amazonaws.internal.SdkInternalMap<String, String>(sunday); }
public TagResourceRequest addTagsEntry(String key, String value) { if (null == this.tags) { this.tags = new com.amazonaws.internal.SdkInternalMap<String, String>(); } if (this.tags.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.tags.put(key, value); return this; }
/** * <p> * A map of identities to custom MAIL FROM attributes. * </p> * * @param mailFromDomainAttributes * A map of identities to custom MAIL FROM attributes. */ public void setMailFromDomainAttributes(java.util.Map<String, IdentityMailFromDomainAttributes> mailFromDomainAttributes) { this.mailFromDomainAttributes = mailFromDomainAttributes == null ? null : new com.amazonaws.internal.SdkInternalMap<String, IdentityMailFromDomainAttributes>(mailFromDomainAttributes); }
public CreatePlatformEndpointRequest addAttributesEntry(String key, String value) { if (null == this.attributes) { this.attributes = new com.amazonaws.internal.SdkInternalMap<String, String>(); } if (this.attributes.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.attributes.put(key, value); return this; }
/** * <p> * The key-value pairs to use for the tags. * </p> * * @param tags * The key-value pairs to use for the tags. */ public void setTags(java.util.Map<String, String> tags) { this.tags = tags == null ? null : new com.amazonaws.internal.SdkInternalMap<String, String>(tags); }
public VideoParameters addCodecOptionsEntry(String key, String value) { if (null == this.codecOptions) { this.codecOptions = new com.amazonaws.internal.SdkInternalMap<String, String>(); } if (this.codecOptions.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.codecOptions.put(key, value); return this; }
/** * <p> * The function's <a href="http://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. * </p> * * @param tags * The function's <a href="http://docs.aws.amazon.com/lambda/latest/dg/tagging.html">tags</a>. */ public void setTags(java.util.Map<String, String> tags) { this.tags = tags == null ? null : new com.amazonaws.internal.SdkInternalMap<String, String>(tags); }
public GenerateDataKeyRequest addEncryptionContextEntry(String key, String value) { if (null == this.encryptionContext) { this.encryptionContext = new com.amazonaws.internal.SdkInternalMap<String, String>(); } if (this.encryptionContext.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.encryptionContext.put(key, value); return this; }
/** * <p> * The list of all tags added to the specified queue. * </p> * * @param tags * The list of all tags added to the specified queue. */ public void setTags(java.util.Map<String, String> tags) { this.tags = tags == null ? null : new com.amazonaws.internal.SdkInternalMap<String, String>(tags); }
public ListTagsLogGroupResult addTagsEntry(String key, String value) { if (null == this.tags) { this.tags = new com.amazonaws.internal.SdkInternalMap<String, String>(); } if (this.tags.containsKey(key)) throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided."); this.tags.put(key, value); return this; }
/** * @return */ public java.util.Map<String, String> getDetails() { if (details == null) { details = new com.amazonaws.internal.SdkInternalMap<String, String>(); } return details; }